Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.FluxTubes.Shapes.FixedShape,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|signalSource.V_m|signalSource.Phi|cuboid.G_m|cuboid.A|hollowCylinderAxialFlux.G_m|hollowCylinderAxialFlux.A|hollowCylinderRadialFlux.G_m|hollowCylinderRadialFlux.A|genericFluxTube.G_m|genericFluxTube.A",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape") translateModel(ModelicaTest.FluxTubes.Shapes.FixedShape,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|signalSource.V_m|signalSource.Phi|cuboid.G_m|cuboid.A|hollowCylinderAxialFlux.G_m|hollowCylinderAxialFlux.A|hollowCylinderRadialFlux.G_m|hollowCylinderRadialFlux.A|genericFluxTube.G_m|genericFluxTube.A",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 107.2 kB / 16.41 MB, free: 6.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 188.1 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.843/1.843, allocations: 205.1 MB / 223.2 MB, free: 12.1 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2543/0.2543, allocations: 43.53 MB / 314.1 MB, free: 436 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001654/0.001654, allocations: 63.89 kB / 441.8 MB, free: 5.676 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1441, allocations: 57.79 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.FixedShape): time 0.00443/0.1486, allocations: 2.394 MB / 0.4902 GB, free: 9.398 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001853/0.1505, allocations: 0.8109 MB / 0.491 GB, free: 8.578 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003173/0.1508, allocations: 7.938 kB / 0.491 GB, free: 8.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003118/0.1511, allocations: 59.5 kB / 0.4911 GB, free: 8.512 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004793/0.1517, allocations: 95.31 kB / 0.4912 GB, free: 8.418 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004023/0.1521, allocations: 103.8 kB / 0.4913 GB, free: 8.316 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005548/0.1526, allocations: 346.8 kB / 0.4916 GB, free: 7.977 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002402/0.1529, allocations: 100.6 kB / 0.4917 GB, free: 7.879 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002997/0.1532, allocations: 135.5 kB / 0.4918 GB, free: 7.746 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002505/0.1535, allocations: 151.4 kB / 0.492 GB, free: 7.598 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.924e-05/0.1535, allocations: 32 kB / 0.492 GB, free: 7.566 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.685e-05/0.1536, allocations: 28 kB / 0.492 GB, free: 7.539 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.419e-05/0.1537, allocations: 67.75 kB / 0.4921 GB, free: 7.473 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001634/0.1538, allocations: 151.2 kB / 0.4922 GB, free: 7.324 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004235/0.1543, allocations: 358.7 kB / 0.4926 GB, free: 6.973 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.1543, allocations: 4 kB / 0.4926 GB, free: 6.969 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1543, allocations: 0 / 0.4926 GB, free: 6.969 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.793e-05/0.1543, allocations: 0 / 0.4926 GB, free: 6.969 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001231/0.1555, allocations: 0.612 MB / 0.4932 GB, free: 6.309 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.836e-05/0.1556, allocations: 15.89 kB / 0.4932 GB, free: 6.293 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.757e-05/0.1557, allocations: 32.56 kB / 0.4932 GB, free: 6.262 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000418/0.1561, allocations: 259.5 kB / 0.4935 GB, free: 5.969 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.205e-05/0.1562, allocations: 20.94 kB / 0.4935 GB, free: 5.949 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.392e-05/0.1562, allocations: 20.38 kB / 0.4935 GB, free: 5.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005606/0.1568, allocations: 253.2 kB / 0.4937 GB, free: 5.672 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.1568, allocations: 3.938 kB / 0.4937 GB, free: 5.668 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.955e-05/0.1568, allocations: 15.98 kB / 0.4938 GB, free: 5.652 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.1569, allocations: 4 kB / 0.4938 GB, free: 5.648 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005226/0.1574, allocations: 226.1 kB / 0.494 GB, free: 5.43 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001558/0.159, allocations: 0.8637 MB / 0.4948 GB, free: 4.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005616/0.1595, allocations: 318.1 kB / 0.4951 GB, free: 4.184 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002716/0.1598, allocations: 144.8 kB / 0.4953 GB, free: 4.039 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.974e-05/0.1599, allocations: 7.938 kB / 0.4953 GB, free: 4.031 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.063e-05/0.1599, allocations: 34.56 kB / 0.4953 GB, free: 3.988 MB / 382.1 MB Notification: Performance of pre-optimization done (n=31): time 1.593e-06/0.1599, allocations: 0 / 0.4953 GB, free: 3.988 MB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.004391/0.1643, allocations: 1.258 MB / 0.4965 GB, free: 2.637 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.327e-05/0.1644, allocations: 51.41 kB / 0.4966 GB, free: 2.574 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002245/0.1646, allocations: 216.9 kB / 0.4968 GB, free: 2.352 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.1646, allocations: 29.7 kB / 0.4968 GB, free: 2.316 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.1648, allocations: 161.1 kB / 0.497 GB, free: 2.156 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.736e-05/0.1649, allocations: 106.5 kB / 0.4971 GB, free: 2.051 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.298e-05/0.165, allocations: 57.56 kB / 0.4971 GB, free: 1.988 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.1651, allocations: 334.8 kB / 0.4974 GB, free: 1.652 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002159/0.1653, allocations: 95.95 kB / 0.4975 GB, free: 1.559 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002366/0.1656, allocations: 117.9 kB / 0.4976 GB, free: 1.438 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004471/0.166, allocations: 239.2 kB / 0.4979 GB, free: 1.199 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.166, allocations: 0 / 0.4979 GB, free: 1.199 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001738/0.1678, allocations: 0.5441 MB / 0.4984 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.1678, allocations: 7.125 kB / 0.4984 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.1678, allocations: 4 kB / 0.4984 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001652/0.1695, allocations: 307.2 kB / 0.4987 GB, free: 324 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001799/0.1697, allocations: 31.91 kB / 0.4987 GB, free: 292 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00762/0.1773, allocations: 6.82 MB / 0.5054 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002281/0.1776, allocations: 27.88 kB / 0.5054 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.654e-05/0.1776, allocations: 15.98 kB / 0.5054 GB, free: 8.848 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,5), (1,5), (1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001722/0.1778, allocations: 145.7 kB / 0.5056 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.949e-05/0.1778, allocations: 27.62 kB / 0.5056 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001821/0.1797, allocations: 0.5473 MB / 0.5061 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.1797, allocations: 4 kB / 0.5061 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.1797, allocations: 3.938 kB / 0.5061 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.301e-06/0.1797, allocations: 3.984 kB / 0.5062 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004835/0.1802, allocations: 349.3 kB / 0.5065 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.633e-06/0.1802, allocations: 0 / 0.5065 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/0.1803, allocations: 31.84 kB / 0.5065 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001486/0.1818, allocations: 311.3 kB / 0.5068 GB, free: 7.355 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.992e-05/0.1819, allocations: 8 kB / 0.5068 GB, free: 7.348 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007925/0.1898, allocations: 6.889 MB / 0.5135 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.1898, allocations: 0 / 0.5135 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001798/0.1916, allocations: 0.6076 MB / 0.5141 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.106e-05/0.1917, allocations: 112.7 kB / 0.5142 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.108e-05/0.1918, allocations: 8 kB / 0.5143 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001871/0.192, allocations: 8 kB / 0.5143 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001402/0.1921, allocations: 43.88 kB / 0.5143 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.021e-05/0.1922, allocations: 8 kB / 0.5143 GB, free: 15.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001539/0.1923, allocations: 160.5 kB / 0.5145 GB, free: 14.91 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1923, allocations: 0 / 0.5145 GB, free: 14.91 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000581/0.1929, allocations: 119.8 kB / 0.5146 GB, free: 14.79 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(2,4), (2,4), (2,4), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001241/0.1931, allocations: 99.25 kB / 0.5147 GB, free: 14.69 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001213/0.1943, allocations: 0.7524 MB / 0.5154 GB, free: 13.88 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.1943, allocations: 0 / 0.5154 GB, free: 13.88 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001241/0.1955, allocations: 0.745 MB / 0.5161 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003203/0.1959, allocations: 24.56 kB / 0.5162 GB, free: 13.06 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/0.197, allocations: 0.537 MB / 0.5167 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004381/0.1975, allocations: 0.7755 MB / 0.5174 GB, free: 11.69 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.285e-05/0.1976, allocations: 9.953 kB / 0.5175 GB, free: 11.68 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.691e-05/0.1976, allocations: 11.44 kB / 0.5175 GB, free: 11.67 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1976, allocations: 0 / 0.5175 GB, free: 11.67 MB / 414.1 MB Notification: Performance of Templates: time 0.01494/0.2126, allocations: 8.11 MB / 0.5254 GB, free: 3.574 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.sim & ./ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Shapes/FixedShape/FixedShape.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches