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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 80.05 kB / 20.72 MB, free: 3.766 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000945/0.000945, allocations: 169 kB / 24.14 MB, free: 360 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.015/1.015, allocations: 158.6 MB / 186 MB, free: 2.758 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1588/0.1588, allocations: 32.38 MB / 270.7 MB, free: 14.59 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.FluxTubes.Shapes.FixedShape,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,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=1000,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 299 MB, free: 2.234 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.3e-05/2.485e-05, allocations: 6.312 kB / 299 MB, free: 2.227 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.FixedShape): time 0.1499/0.1499, allocations: 2.391 MB / 301.4 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001836/0.1517, allocations: 0.8087 MB / 302.2 MB, free: 19.19 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001303/0.1519, allocations: 4.688 kB / 302.2 MB, free: 19.19 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002001/0.1521, allocations: 55.84 kB / 302.3 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002121/0.1523, allocations: 108.2 kB / 302.4 MB, free: 19.13 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002601/0.1525, allocations: 96.59 kB / 302.5 MB, free: 19.13 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003136/0.1529, allocations: 356.8 kB / 302.8 MB, free: 19.05 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001773/0.153, allocations: 66.48 kB / 302.9 MB, free: 19.05 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003123/0.1534, allocations: 201.7 kB / 303.1 MB, free: 19.02 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001811/0.1535, allocations: 116 kB / 303.2 MB, free: 18.98 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.233e-05/0.1536, allocations: 28.72 kB / 303.3 MB, free: 18.98 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.953e-05/0.1536, allocations: 29.09 kB / 303.3 MB, free: 18.98 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.77e-05/0.1537, allocations: 67.2 kB / 303.3 MB, free: 18.95 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.015e-05/0.1538, allocations: 103.1 kB / 303.4 MB, free: 18.9 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002858/0.1541, allocations: 235.4 kB / 303.7 MB, free: 18.8 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1541, allocations: 0.7188 kB / 303.7 MB, free: 18.8 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.265e-06/0.1541, allocations: 1.812 kB / 303.7 MB, free: 18.8 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.1541, allocations: 3.281 kB / 303.7 MB, free: 18.8 MB / 282.7 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.000654/0.1547, allocations: 0.5169 MB / 304.2 MB, free: 18.44 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.1548, allocations: 9.656 kB / 304.2 MB, free: 18.44 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.158e-05/0.1548, allocations: 40.97 kB / 304.2 MB, free: 18.43 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002101/0.155, allocations: 185.1 kB / 304.4 MB, free: 18.27 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.1551, allocations: 19.44 kB / 304.4 MB, free: 18.26 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.193e-05/0.1551, allocations: 24.55 kB / 304.5 MB, free: 18.25 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002737/0.1554, allocations: 180.9 kB / 304.6 MB, free: 18.17 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.1554, allocations: 1.531 kB / 304.6 MB, free: 18.17 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/0.1554, allocations: 11.59 kB / 304.7 MB, free: 18.16 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.616e-05/0.1554, allocations: 11.08 kB / 304.7 MB, free: 18.16 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001376/0.1556, allocations: 74.77 kB / 304.7 MB, free: 18.15 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008082/0.1564, allocations: 0.5436 MB / 305.3 MB, free: 17.85 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002519/0.1566, allocations: 166.6 kB / 305.5 MB, free: 17.8 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.1567, allocations: 61.12 kB / 305.5 MB, free: 17.79 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.755e-05/0.1568, allocations: 7.297 kB / 305.5 MB, free: 17.79 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.1568, allocations: 35.73 kB / 305.6 MB, free: 17.75 MB / 282.7 MB Notification: Performance of pre-optimization done (n=31): time 3.045e-06/0.1568, allocations: 0 / 305.6 MB, free: 17.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=31): time 0.002012/0.1588, allocations: 0.7378 MB / 306.3 MB, free: 17.62 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.473e-05/0.1588, allocations: 58.28 kB / 306.3 MB, free: 17.55 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/0.159, allocations: 205.5 kB / 306.5 MB, free: 17.44 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.159, allocations: 31.11 kB / 306.6 MB, free: 17.4 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.621e-05/0.1591, allocations: 148.9 kB / 306.7 MB, free: 17.28 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.079e-05/0.1591, allocations: 112.7 kB / 306.8 MB, free: 17.2 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.402e-05/0.1592, allocations: 49.92 kB / 306.9 MB, free: 17.17 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.923e-05/0.1592, allocations: 343.4 kB / 307.2 MB, free: 16.85 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.384e-05/0.1593, allocations: 28.09 kB / 307.2 MB, free: 16.85 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.671e-05/0.1594, allocations: 65.41 kB / 307.3 MB, free: 16.82 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001406/0.1595, allocations: 111.5 kB / 307.4 MB, free: 16.8 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.1595, allocations: 1.5 kB / 307.4 MB, free: 16.8 MB / 282.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006888/0.1602, allocations: 371.6 kB / 307.8 MB, free: 16.69 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.1602, allocations: 5.875 kB / 307.8 MB, free: 16.69 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.1602, allocations: 1.875 kB / 307.8 MB, free: 16.69 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00119/0.1614, allocations: 454.1 kB / 308.2 MB, free: 16.6 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.513e-05/0.1615, allocations: 30.64 kB / 308.3 MB, free: 16.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003069/0.1646, allocations: 5.313 MB / 313.6 MB, free: 11.73 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/0.1647, allocations: 26.98 kB / 313.6 MB, free: 11.71 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/0.1647, allocations: 9.062 kB / 313.6 MB, free: 11.71 MB / 282.7 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 9.505e-05/0.1648, allocations: 119.5 kB / 313.7 MB, free: 11.59 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.272e-05/0.1648, allocations: 27.69 kB / 313.8 MB, free: 11.58 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006955/0.1655, allocations: 390 kB / 314.1 MB, free: 11.43 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.1655, allocations: 5.266 kB / 314.1 MB, free: 11.43 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-06/0.1655, allocations: 0 / 314.1 MB, free: 11.43 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.962e-06/0.1655, allocations: 5.297 kB / 314.1 MB, free: 11.43 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002097/0.1657, allocations: 181.7 kB / 314.3 MB, free: 11.31 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.1657, allocations: 4 kB / 314.3 MB, free: 11.31 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.792e-05/0.1658, allocations: 21.34 kB / 314.3 MB, free: 11.3 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001071/0.1669, allocations: 439.7 kB / 314.8 MB, free: 11.23 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.1669, allocations: 6.781 kB / 314.8 MB, free: 11.22 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002588/0.1695, allocations: 5.386 MB / 320.2 MB, free: 6.359 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.1695, allocations: 0 / 320.2 MB, free: 6.359 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005867/0.1701, allocations: 455.6 kB / 320.6 MB, free: 6.062 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.443e-05/0.1701, allocations: 30.86 kB / 320.6 MB, free: 6.039 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.03e-05/0.1701, allocations: 6.094 kB / 320.7 MB, free: 6.035 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.061e-05/0.1702, allocations: 19.02 kB / 320.7 MB, free: 6.02 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.645e-05/0.1703, allocations: 35.38 kB / 320.7 MB, free: 5.996 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.829e-06/0.1703, allocations: 3.156 kB / 320.7 MB, free: 5.996 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.443e-05/0.1703, allocations: 64.39 kB / 320.8 MB, free: 5.961 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1703, allocations: 0 / 320.8 MB, free: 5.961 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004127/0.1707, allocations: 121.2 kB / 320.9 MB, free: 5.938 MB / 282.7 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.0001053/0.1708, allocations: 82.78 kB / 321 MB, free: 5.859 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004694/0.1713, allocations: 0.6365 MB / 321.6 MB, free: 5.297 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.1713, allocations: 1.562 kB / 321.6 MB, free: 5.297 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004706/0.1718, allocations: 0.6917 MB / 322.3 MB, free: 4.707 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001819/0.172, allocations: 24.48 kB / 322.3 MB, free: 4.691 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006367/0.1726, allocations: 0.499 MB / 322.8 MB, free: 4.336 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.337e-05/0.1727, allocations: 102.7 kB / 322.9 MB, free: 4.242 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.314e-05/0.1727, allocations: 9.812 kB / 322.9 MB, free: 4.242 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.562e-05/0.1728, allocations: 69.61 kB / 323 MB, free: 4.188 MB / 282.7 MB Notification: Performance of SimCode: time 6.71e-07/0.1728, allocations: 3.938 kB / 323 MB, free: 4.184 MB / 282.7 MB Notification: Performance of Templates: time 0.01349/0.1863, allocations: 9.034 MB / 332 MB, free: 12.26 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.6852323189377785]