Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.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.000821/0.000821, 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.001384/0.001384, allocations: 173 kB / 24.14 MB, free: 356 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.9449/0.9449, allocations: 158.6 MB / 186 MB, free: 2.77 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.1373/0.1373, allocations: 32.38 MB / 270.7 MB, free: 14.61 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.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 299.1 MB, free: 2.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.658e-05/1.811e-05, allocations: 2.312 kB / 299.1 MB, free: 2.168 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.1324/0.1325, allocations: 5.122 MB / 304.2 MB, free: 18.03 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003254/0.1357, allocations: 1.653 MB / 305.9 MB, free: 17.16 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003798/0.1361, allocations: 18.56 kB / 305.9 MB, free: 17.16 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002286/0.1384, allocations: 1.682 MB / 307.6 MB, free: 16.21 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007699/0.1392, allocations: 323.3 kB / 307.9 MB, free: 15.98 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009611/0.1401, allocations: 0.4962 MB / 308.4 MB, free: 15.7 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009484/0.1411, allocations: 0.8327 MB / 309.2 MB, free: 15.25 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009096/0.142, allocations: 0.6837 MB / 309.9 MB, free: 14.85 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006603/0.1426, allocations: 0.4943 MB / 310.4 MB, free: 14.64 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005356/0.1432, allocations: 364.5 kB / 310.8 MB, free: 14.52 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001269/0.1433, allocations: 74.78 kB / 310.8 MB, free: 14.52 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004191/0.1437, allocations: 188.3 kB / 311 MB, free: 14.48 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001047/0.1438, allocations: 180.2 kB / 311.2 MB, free: 14.36 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002971/0.1441, allocations: 289.2 kB / 311.5 MB, free: 14.23 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008956/0.145, allocations: 0.7434 MB / 312.2 MB, free: 13.84 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.145, allocations: 4 kB / 312.2 MB, free: 13.84 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.145, allocations: 0 / 312.2 MB, free: 13.84 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.899e-05/0.145, allocations: 0 / 312.2 MB, free: 13.84 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.002747/0.1478, allocations: 1.347 MB / 313.6 MB, free: 13.11 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.1478, allocations: 12.62 kB / 313.6 MB, free: 13.11 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001441/0.1493, allocations: 407 kB / 314 MB, free: 13 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001768/0.1494, allocations: 199 kB / 314.2 MB, free: 12.8 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.286e-05/0.1495, allocations: 76.08 kB / 314.2 MB, free: 12.77 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001352/0.1496, allocations: 101 kB / 314.3 MB, free: 12.73 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008094/0.1504, allocations: 0.6769 MB / 315 MB, free: 12.48 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.135e-05/0.1505, allocations: 5.562 kB / 315 MB, free: 12.47 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.878e-05/0.1505, allocations: 40.31 kB / 315.1 MB, free: 12.44 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.517e-05/0.1505, allocations: 26.23 kB / 315.1 MB, free: 12.44 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003464/0.154, allocations: 270.5 kB / 315.4 MB, free: 12.37 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002647/0.1567, allocations: 2.225 MB / 317.6 MB, free: 10.73 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009674/0.1576, allocations: 0.6671 MB / 318.2 MB, free: 10.45 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001802/0.1578, allocations: 164.2 kB / 318.4 MB, free: 10.37 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.33e-05/0.1579, allocations: 17.77 kB / 318.4 MB, free: 10.37 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.1579, allocations: 49.39 kB / 318.5 MB, free: 10.32 MB / 282.7 MB Notification: Performance of pre-optimization done (n=66): time 2.614e-06/0.1579, allocations: 0 / 318.5 MB, free: 10.32 MB / 282.7 MB Notification: Performance of matching and sorting (n=66): time 0.0011/0.159, allocations: 0.696 MB / 319.2 MB, free: 9.957 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.755e-05/0.159, allocations: 140.5 kB / 319.3 MB, free: 9.789 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.1592, allocations: 276.6 kB / 319.6 MB, free: 9.508 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.1592, allocations: 37.7 kB / 319.6 MB, free: 9.465 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.289e-05/0.1593, allocations: 399.8 kB / 320 MB, free: 9.066 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.509e-05/0.1594, allocations: 237.9 kB / 320.2 MB, free: 8.832 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.1595, allocations: 158.5 kB / 320.4 MB, free: 8.672 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.528e-05/0.1595, allocations: 350.7 kB / 320.7 MB, free: 8.32 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.284e-05/0.1596, allocations: 77.95 kB / 320.8 MB, free: 8.242 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.1597, allocations: 280.6 kB / 321.1 MB, free: 7.887 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002649/0.16, allocations: 441.5 kB / 321.5 MB, free: 7.375 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.16, allocations: 0.6875 kB / 321.5 MB, free: 7.375 MB / 282.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0004603/0.1604, allocations: 0.5449 MB / 322.1 MB, free: 6.812 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.1605, allocations: 12.03 kB / 322.1 MB, free: 6.801 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.1605, allocations: 11.94 kB / 322.1 MB, free: 6.789 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005135/0.161, allocations: 230.2 kB / 322.3 MB, free: 6.559 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002293/0.1612, allocations: 143.8 kB / 322.4 MB, free: 6.418 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001865/0.1631, allocations: 5.309 MB / 327.8 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001959/0.1633, allocations: 87.3 kB / 327.8 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.346e-05/0.1633, allocations: 26.97 kB / 327.9 MB, free: 0.6562 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (82): * Single equations (assignments): 78 * 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): 4 systems {(1,4,100.0%), (1,4,100.0%), (1,8,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000114/0.1634, allocations: 161.7 kB / 328 MB, free: 500 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.489e-05/0.1635, allocations: 47.91 kB / 328.1 MB, free: 452 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000399/0.1639, allocations: 432.1 kB / 328.5 MB, free: 8 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.1639, allocations: 8 kB / 328.5 MB, free: 0 / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.782e-05/0.1639, allocations: 4.047 kB / 328.5 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.1639, allocations: 3.938 kB / 328.5 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001061/0.165, allocations: 0.8898 MB / 329.4 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.165, allocations: 0 / 329.4 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001339/0.1651, allocations: 67.91 kB / 329.5 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004843/0.1656, allocations: 223.5 kB / 329.7 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.679e-05/0.1656, allocations: 12 kB / 329.7 MB, free: 14.76 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002914/0.1685, allocations: 5.303 MB / 335 MB, free: 9.105 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.1685, allocations: 0 / 335 MB, free: 9.105 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006239/0.1692, allocations: 0.789 MB / 335.8 MB, free: 8.281 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.885e-05/0.1692, allocations: 55.52 kB / 335.8 MB, free: 8.227 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.865e-05/0.1692, allocations: 12 kB / 335.9 MB, free: 8.215 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001516/0.1694, allocations: 12 kB / 335.9 MB, free: 8.203 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.1695, allocations: 59.83 kB / 335.9 MB, free: 8.145 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.1695, allocations: 12 kB / 335.9 MB, free: 8.133 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.276e-05/0.1696, allocations: 86.75 kB / 336 MB, free: 8.047 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1696, allocations: 0 / 336 MB, free: 8.047 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006299/0.1702, allocations: 283.3 kB / 336.3 MB, free: 7.77 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (constantSource2.port_p.reference.gamma,constantSource1.port_p.reference.gamma) * 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 (42): * Single equations (assignments): 38 * 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): 4 systems {(1,8,100.0%), (1,8,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001773/0.1704, allocations: 112.3 kB / 336.4 MB, free: 7.648 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007029/0.1711, allocations: 0.887 MB / 337.3 MB, free: 6.715 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.193e-05/0.1711, allocations: 4.562 kB / 337.3 MB, free: 6.711 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003905/0.1715, allocations: 0.6915 MB / 338 MB, free: 5.965 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003532/0.1719, allocations: 53.84 kB / 338 MB, free: 5.914 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/0.1732, allocations: 1.1 MB / 339.1 MB, free: 4.77 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001209/0.1734, allocations: 151.5 kB / 339.3 MB, free: 4.602 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001543/0.1735, allocations: 68.42 kB / 339.4 MB, free: 4.531 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.1736, allocations: 99.36 kB / 339.5 MB, free: 4.434 MB / 298.7 MB Notification: Performance of SimCode: time 8.21e-07/0.1736, allocations: 0 / 339.5 MB, free: 4.434 MB / 298.7 MB Notification: Performance of Templates: time 0.01037/0.184, allocations: 7.283 MB / 346.7 MB, free: 13.22 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & ./ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.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.0938863679766655]