Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Magnetic.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_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") translateModel(ModelicaTest.Magnetic.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_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 108.1 kB / 17.21 MB, free: 6.289 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.001009/0.001009, allocations: 194 kB / 18.12 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 222.9 MB / 241.8 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2269/0.2269, allocations: 44.17 MB / 336.1 MB, free: 2.914 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 64.94 kB / 407.7 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1576, allocations: 60.83 MB / 468.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.004239/0.1619, allocations: 2.462 MB / 471 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00138/0.1633, allocations: 0.7712 MB / 471.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001375/0.1634, allocations: 4 kB / 471.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002265/0.1637, allocations: 39.69 kB / 471.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002368/0.164, allocations: 87.45 kB / 471.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002599/0.1642, allocations: 87.84 kB / 472 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003381/0.1646, allocations: 326.8 kB / 472.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002689/0.1648, allocations: 92.97 kB / 472.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001952/0.165, allocations: 119.5 kB / 472.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001811/0.1652, allocations: 151.3 kB / 472.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.421e-05/0.1653, allocations: 20 kB / 472.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.682e-05/0.1653, allocations: 16 kB / 472.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.666e-05/0.1654, allocations: 55.75 kB / 472.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001446/0.1656, allocations: 143.2 kB / 472.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003156/0.1659, allocations: 343 kB / 473.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1659, allocations: 0 / 473.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.61e-07/0.1659, allocations: 3.938 kB / 473.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.528e-06/0.1659, allocations: 4 kB / 473.2 MB, free: 10.09 MB / 350.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.0012/0.1671, allocations: 0.6158 MB / 473.8 MB, free: 9.426 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.1672, allocations: 12.03 kB / 473.9 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.072e-05/0.1673, allocations: 36.56 kB / 473.9 MB, free: 9.379 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003/0.1676, allocations: 259.6 kB / 474.1 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.1676, allocations: 16.94 kB / 474.2 MB, free: 9.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.147e-05/0.1676, allocations: 24.38 kB / 474.2 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005196/0.1682, allocations: 245.2 kB / 474.4 MB, free: 8.801 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.1682, allocations: 8 kB / 474.4 MB, free: 8.793 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.783e-05/0.1682, allocations: 8 kB / 474.4 MB, free: 8.785 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/0.1682, allocations: 11.98 kB / 474.5 MB, free: 8.773 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004961/0.1688, allocations: 226.1 kB / 474.7 MB, free: 8.551 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001459/0.1702, allocations: 0.8752 MB / 475.6 MB, free: 7.613 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005428/0.1708, allocations: 306.7 kB / 475.8 MB, free: 7.305 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002793/0.1711, allocations: 141.3 kB / 476 MB, free: 7.164 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.759e-05/0.1711, allocations: 11.98 kB / 476 MB, free: 7.152 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.1712, allocations: 34.56 kB / 476 MB, free: 7.109 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 2.364e-06/0.1712, allocations: 0 / 476 MB, free: 7.109 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.004622/0.1758, allocations: 1.262 MB / 477.3 MB, free: 5.754 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/0.1758, allocations: 51.41 kB / 477.3 MB, free: 5.691 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002428/0.1761, allocations: 213 kB / 477.6 MB, free: 5.477 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.406e-05/0.1761, allocations: 29.7 kB / 477.6 MB, free: 5.441 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/0.1763, allocations: 161.1 kB / 477.7 MB, free: 5.281 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.441e-05/0.1764, allocations: 114.4 kB / 477.9 MB, free: 5.168 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.302e-05/0.1765, allocations: 49.7 kB / 477.9 MB, free: 5.113 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.1766, allocations: 334.8 kB / 478.2 MB, free: 4.777 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002315/0.1769, allocations: 95.95 kB / 478.3 MB, free: 4.684 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002294/0.1771, allocations: 117.9 kB / 478.4 MB, free: 4.559 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004564/0.1776, allocations: 231.3 kB / 478.7 MB, free: 4.328 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.1776, allocations: 0 / 478.7 MB, free: 4.328 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.00181/0.1794, allocations: 0.5449 MB / 479.2 MB, free: 3.766 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.1794, allocations: 8 kB / 479.2 MB, free: 3.758 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.1794, allocations: 0 / 479.2 MB, free: 3.758 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001753/0.1812, allocations: 311.1 kB / 479.5 MB, free: 3.441 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001739/0.1814, allocations: 27.97 kB / 479.5 MB, free: 3.414 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007599/0.189, allocations: 6.344 MB / 485.9 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002668/0.1893, allocations: 23.78 kB / 485.9 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.455e-05/0.1893, allocations: 12 kB / 485.9 MB, free: 12.5 MB / 366.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.0002164/0.1896, allocations: 141.8 kB / 486.1 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.093e-05/0.1896, allocations: 27.66 kB / 486.1 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001748/0.1914, allocations: 0.5462 MB / 486.6 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.1914, allocations: 8 kB / 486.6 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.1914, allocations: 3.938 kB / 486.6 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.1914, allocations: 3.984 kB / 486.7 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004204/0.1918, allocations: 345.3 kB / 487 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.1918, allocations: 4 kB / 487 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001298/0.192, allocations: 23.91 kB / 487 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001555/0.1935, allocations: 307.2 kB / 487.3 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.281e-05/0.1936, allocations: 4 kB / 487.3 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007034/0.2006, allocations: 6.377 MB / 493.7 MB, free: 4.102 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2007, allocations: 4.031 kB / 493.7 MB, free: 4.098 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001862/0.2025, allocations: 0.6282 MB / 494.3 MB, free: 3.441 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.192e-05/0.2026, allocations: 100.8 kB / 494.4 MB, free: 3.324 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.129e-05/0.2027, allocations: 4 kB / 494.4 MB, free: 3.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002207/0.2029, allocations: 11.98 kB / 494.4 MB, free: 3.309 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00015/0.2031, allocations: 35.89 kB / 494.5 MB, free: 3.273 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.957e-05/0.2031, allocations: 8 kB / 494.5 MB, free: 3.266 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000154/0.2032, allocations: 164.5 kB / 494.6 MB, free: 3.105 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2033, allocations: 3.938 kB / 494.7 MB, free: 3.102 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006021/0.2039, allocations: 119.8 kB / 494.8 MB, free: 2.984 MB / 366.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.0001315/0.204, allocations: 95.25 kB / 494.9 MB, free: 2.879 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001256/0.2053, allocations: 0.7484 MB / 495.6 MB, free: 2.078 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.2053, allocations: 0 / 495.6 MB, free: 2.078 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001296/0.2066, allocations: 0.7173 MB / 496.3 MB, free: 1.309 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003526/0.207, allocations: 24.36 kB / 496.4 MB, free: 1.285 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001133/0.2081, allocations: 0.6486 MB / 497 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00048/0.2086, allocations: 0.7717 MB / 497.8 MB, free: 15.81 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.834e-05/0.2087, allocations: 9.969 kB / 497.8 MB, free: 15.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.443e-05/0.2087, allocations: 15.44 kB / 497.8 MB, free: 15.79 MB / 382.1 MB Notification: Performance of SimCode: time 1.102e-06/0.2087, allocations: 0 / 497.8 MB, free: 15.79 MB / 382.1 MB Notification: Performance of Templates: time 0.01437/0.2231, allocations: 7.489 MB / 0.4934 GB, free: 8.324 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Shapes/FixedShape/FixedShape.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches