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.0014/0.0014, allocations: 100.4 kB / 20.45 MB, free: 1.383 MB / 14.72 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.00172/0.00172, allocations: 205.5 kB / 23.73 MB, free: 4.551 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.604/1.604, allocations: 207.7 MB / 234.6 MB, free: 9.785 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.2547/0.2547, allocations: 44.27 MB / 331.1 MB, free: 9.301 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.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: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002312/0.002312, allocations: 71.91 kB / 468.7 MB, free: 3.863 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1529, allocations: 61.05 MB / 0.5174 GB, free: 6.684 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.FixedShape): time 0.004237/0.1571, allocations: 2.257 MB / 0.5196 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001596/0.1587, allocations: 0.7681 MB / 0.5203 GB, free: 3.633 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001356/0.1588, allocations: 4 kB / 0.5203 GB, free: 3.629 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002301/0.1591, allocations: 55.52 kB / 0.5204 GB, free: 3.574 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003632/0.1594, allocations: 103.2 kB / 0.5205 GB, free: 3.473 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003406/0.1598, allocations: 95.86 kB / 0.5206 GB, free: 3.379 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004119/0.1602, allocations: 358.6 kB / 0.5209 GB, free: 3.027 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000195/0.1604, allocations: 64.83 kB / 0.521 GB, free: 2.961 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002408/0.1606, allocations: 131.6 kB / 0.5211 GB, free: 2.832 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002125/0.1608, allocations: 139.3 kB / 0.5212 GB, free: 2.695 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.616e-05/0.1609, allocations: 32 kB / 0.5213 GB, free: 2.664 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.715e-05/0.1609, allocations: 28 kB / 0.5213 GB, free: 2.637 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.024e-05/0.161, allocations: 67.75 kB / 0.5214 GB, free: 2.57 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001336/0.1611, allocations: 127.4 kB / 0.5215 GB, free: 2.445 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004391/0.1616, allocations: 362.4 kB / 0.5218 GB, free: 2.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1616, allocations: 4 kB / 0.5218 GB, free: 2.086 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1616, allocations: 0 / 0.5218 GB, free: 2.086 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.154e-05/0.1616, allocations: 0 / 0.5218 GB, free: 2.086 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.001073/0.1627, allocations: 0.5402 MB / 0.5224 GB, free: 1.516 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.1627, allocations: 8.031 kB / 0.5224 GB, free: 1.508 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.987e-05/0.1628, allocations: 36.73 kB / 0.5224 GB, free: 1.473 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004044/0.1632, allocations: 206 kB / 0.5226 GB, free: 1.246 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.726e-05/0.1632, allocations: 16.88 kB / 0.5226 GB, free: 1.227 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.039e-05/0.1632, allocations: 20.38 kB / 0.5226 GB, free: 1.207 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005305/0.1638, allocations: 256.3 kB / 0.5229 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.1638, allocations: 4 kB / 0.5229 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.317e-05/0.1638, allocations: 4 kB / 0.5229 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.566e-05/0.1638, allocations: 11.98 kB / 0.5229 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005171/0.1643, allocations: 233.9 kB / 0.5231 GB, free: 0.707 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001489/0.1658, allocations: 0.7227 MB / 0.5238 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000556/0.1664, allocations: 282.6 kB / 0.5241 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003246/0.1667, allocations: 128.7 kB / 0.5242 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.771e-05/0.1667, allocations: 8 kB / 0.5242 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.907e-05/0.1668, allocations: 34.56 kB / 0.5243 GB, free: 15.47 MB / 414.1 MB Notification: Performance of pre-optimization done (n=31): time 1.483e-06/0.1668, allocations: 0 / 0.5243 GB, free: 15.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=31): time 0.004426/0.1712, allocations: 0.9567 MB / 0.5252 GB, free: 14.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.48e-05/0.1713, allocations: 55.41 kB / 0.5252 GB, free: 14.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002501/0.1715, allocations: 221.4 kB / 0.5255 GB, free: 14.21 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/0.1716, allocations: 33.69 kB / 0.5255 GB, free: 14.17 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.1717, allocations: 160.7 kB / 0.5256 GB, free: 14.01 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.182e-05/0.1718, allocations: 103.1 kB / 0.5257 GB, free: 13.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.1719, allocations: 57.56 kB / 0.5258 GB, free: 13.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002222/0.1721, allocations: 338.8 kB / 0.5261 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002528/0.1724, allocations: 91.94 kB / 0.5262 GB, free: 13.41 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002386/0.1726, allocations: 121.8 kB / 0.5263 GB, free: 13.29 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004582/0.1731, allocations: 231.3 kB / 0.5265 GB, free: 13.06 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.1731, allocations: 0 / 0.5265 GB, free: 13.06 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001779/0.1748, allocations: 0.5403 MB / 0.5271 GB, free: 12.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.734e-05/0.1749, allocations: 11.94 kB / 0.5271 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.1749, allocations: 3.984 kB / 0.5271 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0016/0.1765, allocations: 311.1 kB / 0.5274 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001744/0.1766, allocations: 31.97 kB / 0.5274 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008602/0.1852, allocations: 6.269 MB / 0.5335 GB, free: 5.445 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002597/0.1855, allocations: 31.75 kB / 0.5336 GB, free: 5.414 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.843e-05/0.1855, allocations: 19.92 kB / 0.5336 GB, free: 5.395 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.0002989/0.1858, allocations: 133.8 kB / 0.5337 GB, free: 5.254 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.517e-05/0.1859, allocations: 19.86 kB / 0.5337 GB, free: 5.234 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001824/0.1877, allocations: 0.55 MB / 0.5343 GB, free: 4.668 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.473e-06/0.1877, allocations: 4 kB / 0.5343 GB, free: 4.664 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-06/0.1877, allocations: 0 / 0.5343 GB, free: 4.664 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/0.1877, allocations: 4.172 kB / 0.5343 GB, free: 4.66 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004193/0.1882, allocations: 245.1 kB / 0.5345 GB, free: 4.391 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.355e-05/0.1882, allocations: 3.938 kB / 0.5345 GB, free: 4.387 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000143/0.1883, allocations: 23.97 kB / 0.5345 GB, free: 4.363 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001501/0.1898, allocations: 311.1 kB / 0.5348 GB, free: 4.047 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.972e-05/0.1898, allocations: 7.938 kB / 0.5348 GB, free: 4.039 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3235/0.5133, allocations: 6.335 MB / 0.541 GB, free: 25.89 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.5133, allocations: 2.688 kB / 0.541 GB, free: 25.89 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001893/0.5152, allocations: 0.6089 MB / 0.5416 GB, free: 25.73 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.818e-05/0.5153, allocations: 30.28 kB / 0.5416 GB, free: 25.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.298e-05/0.5153, allocations: 13 kB / 0.5417 GB, free: 25.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001788/0.5155, allocations: 9.484 kB / 0.5417 GB, free: 25.73 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001503/0.5157, allocations: 34.69 kB / 0.5417 GB, free: 25.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/0.5157, allocations: 7.938 kB / 0.5417 GB, free: 25.73 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001577/0.5158, allocations: 159.2 kB / 0.5419 GB, free: 25.65 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5158, allocations: 0 / 0.5419 GB, free: 25.65 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006611/0.5165, allocations: 120.9 kB / 0.542 GB, free: 25.65 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.0001234/0.5166, allocations: 100.4 kB / 0.5421 GB, free: 25.56 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001067/0.5177, allocations: 0.7431 MB / 0.5428 GB, free: 25.12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.5177, allocations: 1.062 kB / 0.5428 GB, free: 25.12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001505/0.5192, allocations: 0.7246 MB / 0.5435 GB, free: 24.65 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003747/0.5196, allocations: 22.81 kB / 0.5435 GB, free: 24.65 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/0.521, allocations: 0.566 MB / 0.5441 GB, free: 24.36 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002547/0.5212, allocations: 163.2 kB / 0.5442 GB, free: 24.28 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.895e-05/0.5213, allocations: 14.55 kB / 0.5443 GB, free: 24.27 MB / 414.1 MB Notification: Performance of SimCode: time 9.32e-07/0.5213, allocations: 0 / 0.5443 GB, free: 24.27 MB / 414.1 MB Notification: Performance of Templates: time 0.02179/0.5431, allocations: 8.123 MB / 0.5522 GB, free: 23.73 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Shapes/FixedShape/FixedShape.csv","/var/lib/jenkins1/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: 9.243741539306939]