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.001512/0.001512, allocations: 79.92 kB / 20.72 MB, free: 3.77 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.001753/0.001753, 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 0.9857/0.9857, allocations: 158.6 MB / 186 MB, free: 2.754 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.1364/0.1364, allocations: 32.38 MB / 270.7 MB, free: 14.6 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 2.204e-06/2.204e-06, allocations: 0 / 299.1 MB, free: 2.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.133e-05/3.353e-05, allocations: 2.312 kB / 299.1 MB, free: 2.176 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.FixedShape): time 0.1703/0.1703, allocations: 2.439 MB / 301.5 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00159/0.1719, allocations: 0.8136 MB / 302.3 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001786/0.1721, allocations: 3.812 kB / 302.4 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002404/0.1723, allocations: 52.73 kB / 302.4 MB, free: 19.14 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003968/0.1727, allocations: 108.4 kB / 302.5 MB, free: 19.1 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003968/0.1731, allocations: 99.88 kB / 302.6 MB, free: 19.1 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005038/0.1736, allocations: 359.4 kB / 303 MB, free: 19.02 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001813/0.1738, allocations: 62.95 kB / 303 MB, free: 19.02 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003803/0.1742, allocations: 198.8 kB / 303.2 MB, free: 18.96 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002259/0.1744, allocations: 116.2 kB / 303.3 MB, free: 18.93 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.031e-05/0.1745, allocations: 29.34 kB / 303.4 MB, free: 18.93 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.041e-05/0.1745, allocations: 29.62 kB / 303.4 MB, free: 18.93 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.278e-05/0.1746, allocations: 67.08 kB / 303.4 MB, free: 18.89 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001235/0.1747, allocations: 102.4 kB / 303.5 MB, free: 18.85 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003832/0.1751, allocations: 242.5 kB / 303.8 MB, free: 18.74 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.1751, allocations: 0 / 303.8 MB, free: 18.74 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1751, allocations: 2.812 kB / 303.8 MB, free: 18.74 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.423e-05/0.1751, allocations: 0 / 303.8 MB, free: 18.74 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.0009277/0.1761, allocations: 0.5213 MB / 304.3 MB, free: 18.38 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.1761, allocations: 9.5 kB / 304.3 MB, free: 18.38 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001849/0.1763, allocations: 41.16 kB / 304.4 MB, free: 18.37 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000281/0.1766, allocations: 180.4 kB / 304.5 MB, free: 18.21 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.1766, allocations: 18.41 kB / 304.6 MB, free: 18.2 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.798e-05/0.1766, allocations: 29.72 kB / 304.6 MB, free: 18.19 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003156/0.1769, allocations: 185.5 kB / 304.8 MB, free: 18.11 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.1769, allocations: 192 / 304.8 MB, free: 18.11 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.786e-05/0.177, allocations: 7.219 kB / 304.8 MB, free: 18.11 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.321e-05/0.177, allocations: 12.62 kB / 304.8 MB, free: 18.1 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001528/0.1771, allocations: 75.22 kB / 304.9 MB, free: 18.09 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008844/0.178, allocations: 0.5396 MB / 305.4 MB, free: 17.79 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000286/0.1783, allocations: 157.5 kB / 305.5 MB, free: 17.75 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/0.1784, allocations: 68.97 kB / 305.6 MB, free: 17.73 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.305e-05/0.1784, allocations: 6.172 kB / 305.6 MB, free: 17.73 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.1785, allocations: 36.91 kB / 305.7 MB, free: 17.69 MB / 282.7 MB Notification: Performance of pre-optimization done (n=31): time 2.805e-06/0.1785, allocations: 0 / 305.7 MB, free: 17.69 MB / 282.7 MB Notification: Performance of matching and sorting (n=31): time 0.002075/0.1806, allocations: 0.7378 MB / 306.4 MB, free: 17.56 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/0.1806, allocations: 55.86 kB / 306.5 MB, free: 17.5 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/0.1807, allocations: 209 kB / 306.7 MB, free: 17.38 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.1807, allocations: 35.95 kB / 306.7 MB, free: 17.34 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.127e-05/0.1808, allocations: 148.2 kB / 306.8 MB, free: 17.21 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.623e-05/0.1808, allocations: 106.6 kB / 306.9 MB, free: 17.12 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.464e-05/0.1809, allocations: 56.78 kB / 307 MB, free: 17.09 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.903e-05/0.181, allocations: 340.8 kB / 307.3 MB, free: 16.76 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.213e-05/0.181, allocations: 27.86 kB / 307.4 MB, free: 16.76 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.942e-05/0.1811, allocations: 61.75 kB / 307.4 MB, free: 16.73 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001464/0.1812, allocations: 114.4 kB / 307.5 MB, free: 16.7 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.1812, allocations: 0.8438 kB / 307.5 MB, free: 16.7 MB / 282.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007202/0.1819, allocations: 371.7 kB / 307.9 MB, free: 16.59 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.182, allocations: 5.797 kB / 307.9 MB, free: 16.59 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.182, allocations: 1.5 kB / 307.9 MB, free: 16.59 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001176/0.1831, allocations: 454.5 kB / 308.3 MB, free: 16.5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.179e-05/0.1832, allocations: 24.28 kB / 308.4 MB, free: 16.5 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002861/0.1861, allocations: 5.316 MB / 313.7 MB, free: 11.63 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.999e-05/0.1862, allocations: 28.23 kB / 313.7 MB, free: 11.61 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.1862, allocations: 6.031 kB / 313.7 MB, free: 11.61 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 7.5e-05/0.1863, allocations: 121.3 kB / 313.8 MB, free: 11.49 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.942e-05/0.1863, allocations: 28.44 kB / 313.9 MB, free: 11.48 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000694/0.187, allocations: 390.5 kB / 314.2 MB, free: 11.33 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.187, allocations: 2.469 kB / 314.2 MB, free: 11.33 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.92e-07/0.187, allocations: 1.125 kB / 314.2 MB, free: 11.33 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.187, allocations: 1.547 kB / 314.2 MB, free: 11.33 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001969/0.1872, allocations: 180.7 kB / 314.4 MB, free: 11.21 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.1872, allocations: 0.75 kB / 314.4 MB, free: 11.21 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.632e-05/0.1873, allocations: 22.97 kB / 314.4 MB, free: 11.21 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001084/0.1884, allocations: 448.4 kB / 314.9 MB, free: 11.12 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.1884, allocations: 5.984 kB / 314.9 MB, free: 11.12 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002759/0.1911, allocations: 5.422 MB / 320.3 MB, free: 6.23 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1911, allocations: 4 kB / 320.3 MB, free: 6.227 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006236/0.1918, allocations: 454.9 kB / 320.8 MB, free: 5.93 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.125e-05/0.1918, allocations: 32.36 kB / 320.8 MB, free: 5.906 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.1918, allocations: 5.125 kB / 320.8 MB, free: 5.902 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.52e-05/0.1919, allocations: 7.688 kB / 320.8 MB, free: 5.898 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.535e-05/0.192, allocations: 30.56 kB / 320.8 MB, free: 5.879 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.192, allocations: 16.14 kB / 320.9 MB, free: 5.867 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.458e-05/0.192, allocations: 64.33 kB / 320.9 MB, free: 5.832 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.192, allocations: 0 / 320.9 MB, free: 5.832 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003605/0.1924, allocations: 120.6 kB / 321 MB, free: 5.809 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 8.971e-05/0.1925, allocations: 89.41 kB / 321.1 MB, free: 5.723 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004545/0.1929, allocations: 0.6218 MB / 321.7 MB, free: 5.176 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.1929, allocations: 2.156 kB / 321.7 MB, free: 5.176 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005086/0.1934, allocations: 0.6949 MB / 322.4 MB, free: 4.582 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001812/0.1936, allocations: 21 kB / 322.5 MB, free: 4.57 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006144/0.1942, allocations: 0.5013 MB / 323 MB, free: 4.211 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.265e-05/0.1943, allocations: 99.08 kB / 323.1 MB, free: 4.121 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.084e-05/0.1943, allocations: 8.875 kB / 323.1 MB, free: 4.121 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.021e-05/0.1944, allocations: 65.86 kB / 323.1 MB, free: 4.07 MB / 282.7 MB Notification: Performance of SimCode: time 7.61e-07/0.1944, allocations: 4 kB / 323.1 MB, free: 4.066 MB / 282.7 MB Notification: Performance of Templates: time 0.009697/0.2041, allocations: 9.044 MB / 332.2 MB, free: 12.08 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 -s gbode -gbm=radauIIA3 -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.4629516871646047]