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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 107.2 kB / 19.69 MB, free: 2.199 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 190.8 kB / 22.98 MB, free: 5.062 MB / 14.72 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.653/1.653, allocations: 207.6 MB / 233.7 MB, free: 10.02 MB / 190.1 MB " [Timeout remaining time 178] 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.2764/0.2764, allocations: 44.24 MB / 330.2 MB, free: 9.555 MB / 270.1 MB " [Timeout remaining time 179] 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=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: 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.002223/0.002223, allocations: 71.89 kB / 467.9 MB, free: 4.066 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.1617, allocations: 61.05 MB / 0.5166 GB, free: 6.883 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.FixedShape): time 0.00452/0.1663, allocations: 2.412 MB / 0.5189 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001841/0.1681, allocations: 0.8226 MB / 0.5197 GB, free: 3.621 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001533/0.1683, allocations: 4 kB / 0.5197 GB, free: 3.617 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002869/0.1685, allocations: 63.5 kB / 0.5198 GB, free: 3.555 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002837/0.1688, allocations: 91.31 kB / 0.5199 GB, free: 3.465 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003169/0.1691, allocations: 103.8 kB / 0.52 GB, free: 3.363 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004178/0.1696, allocations: 350.8 kB / 0.5203 GB, free: 3.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002048/0.1698, allocations: 64.84 kB / 0.5204 GB, free: 2.953 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002443/0.17, allocations: 151.4 kB / 0.5205 GB, free: 2.805 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002392/0.1702, allocations: 147.4 kB / 0.5207 GB, free: 2.66 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.502e-05/0.1703, allocations: 32 kB / 0.5207 GB, free: 2.629 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.156e-05/0.1704, allocations: 28 kB / 0.5207 GB, free: 2.602 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.956e-05/0.1704, allocations: 71.75 kB / 0.5208 GB, free: 2.531 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001567/0.1706, allocations: 147.2 kB / 0.5209 GB, free: 2.387 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004437/0.171, allocations: 358.5 kB / 0.5213 GB, free: 2.035 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.171, allocations: 0 / 0.5213 GB, free: 2.035 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.171, allocations: 0 / 0.5213 GB, free: 2.035 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.339e-05/0.1711, allocations: 4 kB / 0.5213 GB, free: 2.031 MB / 398.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.001206/0.1723, allocations: 0.548 MB / 0.5218 GB, free: 1.453 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/0.1723, allocations: 8.031 kB / 0.5218 GB, free: 1.445 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.932e-05/0.1724, allocations: 32.75 kB / 0.5219 GB, free: 1.414 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004228/0.1728, allocations: 205.9 kB / 0.5221 GB, free: 1.188 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.158e-05/0.1728, allocations: 20.88 kB / 0.5221 GB, free: 1.164 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.506e-05/0.1729, allocations: 24.38 kB / 0.5221 GB, free: 1.141 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005467/0.1734, allocations: 244.4 kB / 0.5223 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.1735, allocations: 7.984 kB / 0.5223 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.146e-05/0.1735, allocations: 12 kB / 0.5223 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/0.1735, allocations: 4 kB / 0.5224 GB, free: 0.875 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005511/0.1741, allocations: 233.8 kB / 0.5226 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001564/0.1756, allocations: 0.8315 MB / 0.5234 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006001/0.1762, allocations: 278.5 kB / 0.5237 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002824/0.1765, allocations: 124.8 kB / 0.5238 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.204e-05/0.1765, allocations: 4 kB / 0.5238 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.398e-05/0.1766, allocations: 46.55 kB / 0.5238 GB, free: 15.29 MB / 414.1 MB Notification: Performance of pre-optimization done (n=31): time 1.423e-06/0.1766, allocations: 0 / 0.5238 GB, free: 15.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=31): time 0.004618/0.1812, allocations: 0.9566 MB / 0.5248 GB, free: 14.32 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.183e-05/0.1813, allocations: 55.41 kB / 0.5248 GB, free: 14.25 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002568/0.1815, allocations: 213.5 kB / 0.525 GB, free: 14.04 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.385e-05/0.1815, allocations: 37.64 kB / 0.525 GB, free: 13.99 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/0.1817, allocations: 164.7 kB / 0.5252 GB, free: 13.83 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/0.1818, allocations: 107.1 kB / 0.5253 GB, free: 13.72 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/0.1819, allocations: 53.56 kB / 0.5254 GB, free: 13.66 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.1821, allocations: 334.8 kB / 0.5257 GB, free: 13.33 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002336/0.1823, allocations: 99.89 kB / 0.5258 GB, free: 13.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002504/0.1826, allocations: 121.8 kB / 0.5259 GB, free: 13.11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004762/0.183, allocations: 227.3 kB / 0.5261 GB, free: 12.88 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.183, allocations: 0 / 0.5261 GB, free: 12.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001881/0.1849, allocations: 0.5403 MB / 0.5266 GB, free: 12.32 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.229e-05/0.1849, allocations: 8 kB / 0.5266 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.185, allocations: 0 / 0.5266 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001801/0.1868, allocations: 315 kB / 0.5269 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001736/0.1869, allocations: 27.98 kB / 0.527 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009062/0.196, allocations: 6.415 MB / 0.5332 GB, free: 5.078 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002821/0.1963, allocations: 31.8 kB / 0.5333 GB, free: 5.047 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.803e-05/0.1963, allocations: 12 kB / 0.5333 GB, free: 5.035 MB / 414.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.000226/0.1965, allocations: 149.8 kB / 0.5334 GB, free: 4.879 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.811e-05/0.1966, allocations: 23.86 kB / 0.5334 GB, free: 4.855 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001878/0.1985, allocations: 0.5424 MB / 0.534 GB, free: 4.297 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.1985, allocations: 7.938 kB / 0.534 GB, free: 4.289 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.1985, allocations: 3.938 kB / 0.534 GB, free: 4.285 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.1985, allocations: 0 / 0.534 GB, free: 4.285 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004736/0.199, allocations: 328.4 kB / 0.5343 GB, free: 3.922 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.199, allocations: 0 / 0.5343 GB, free: 3.922 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001107/0.1991, allocations: 15.98 kB / 0.5343 GB, free: 3.906 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001603/0.2007, allocations: 307.2 kB / 0.5346 GB, free: 3.594 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.344e-05/0.2007, allocations: 12.06 kB / 0.5346 GB, free: 3.582 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3133/0.514, allocations: 6.486 MB / 0.5409 GB, free: 25.59 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.514, allocations: 2.469 kB / 0.5409 GB, free: 25.59 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002126/0.5161, allocations: 0.6163 MB / 0.5415 GB, free: 25.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.837e-05/0.5162, allocations: 23.89 kB / 0.5416 GB, free: 25.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.039e-05/0.5162, allocations: 6.609 kB / 0.5416 GB, free: 25.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001952/0.5164, allocations: 10.72 kB / 0.5416 GB, free: 25.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001878/0.5166, allocations: 41.23 kB / 0.5416 GB, free: 25.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-05/0.5166, allocations: 6.312 kB / 0.5416 GB, free: 25.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00017/0.5168, allocations: 159.6 kB / 0.5418 GB, free: 25.35 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5168, allocations: 0.5 kB / 0.5418 GB, free: 25.35 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005913/0.5174, allocations: 125.6 kB / 0.5419 GB, free: 25.35 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.0001334/0.5175, allocations: 97.16 kB / 0.542 GB, free: 25.26 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00112/0.5186, allocations: 0.7384 MB / 0.5427 GB, free: 24.81 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.5186, allocations: 0 / 0.5427 GB, free: 24.81 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001258/0.5199, allocations: 0.7329 MB / 0.5434 GB, free: 24.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003274/0.5202, allocations: 19.3 kB / 0.5435 GB, free: 24.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.5213, allocations: 0.5516 MB / 0.544 GB, free: 24.07 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002856/0.5216, allocations: 0.7705 MB / 0.5447 GB, free: 23.37 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.125e-05/0.5217, allocations: 13.12 kB / 0.5448 GB, free: 23.37 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.683e-05/0.5217, allocations: 12.84 kB / 0.5448 GB, free: 23.36 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.5217, allocations: 1.094 kB / 0.5448 GB, free: 23.36 MB / 414.1 MB Notification: Performance of Templates: time 0.02069/0.5424, allocations: 8.46 MB / 0.553 GB, free: 22.95 MB / 414.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe 2>&1) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.340404871851206]