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.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.001831/0.001831, allocations: 109.7 kB / 18.33 MB, free: 3.98 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.002066/0.002066, allocations: 186 kB / 21.49 MB, free: 0.8242 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.783/1.783, allocations: 207.6 MB / 232.1 MB, free: 3.137 MB / 174.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.383/0.383, allocations: 44.23 MB / 328.4 MB, free: 6.262 MB / 254.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.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: 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.002131/0.002131, allocations: 75.94 kB / 465.5 MB, free: 45.26 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1148, allocations: 61.01 MB / 0.5142 GB, free: 12.44 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.004983/0.1197, allocations: 5.326 MB / 0.5194 GB, free: 7.895 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002702/0.1224, allocations: 1.636 MB / 0.521 GB, free: 6.246 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000348/0.1228, allocations: 23.94 kB / 0.521 GB, free: 6.223 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002765/0.1256, allocations: 1.6 MB / 0.5226 GB, free: 4.617 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006645/0.1262, allocations: 313.7 kB / 0.5229 GB, free: 4.309 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001035/0.1273, allocations: 0.6774 MB / 0.5235 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005971/0.1279, allocations: 0.797 MB / 0.5243 GB, free: 2.828 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000633/0.1285, allocations: 0.5611 MB / 0.5249 GB, free: 2.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002457/0.1287, allocations: 350.7 kB / 0.5252 GB, free: 1.906 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003562/0.1291, allocations: 462.2 kB / 0.5256 GB, free: 1.453 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.85e-05/0.1292, allocations: 76 kB / 0.5257 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002934/0.1294, allocations: 187.9 kB / 0.5259 GB, free: 1.195 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.535e-05/0.1295, allocations: 171.4 kB / 0.5261 GB, free: 1.027 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002159/0.1297, allocations: 429.9 kB / 0.5265 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001028/0.1308, allocations: 1.156 MB / 0.5276 GB, free: 15.45 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1308, allocations: 0 / 0.5276 GB, free: 15.45 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1308, allocations: 0 / 0.5276 GB, free: 15.45 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.276e-05/0.1308, allocations: 3.984 kB / 0.5276 GB, free: 15.44 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.003239/0.134, allocations: 1.364 MB / 0.5289 GB, free: 14.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.1341, allocations: 19.83 kB / 0.5289 GB, free: 14 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001413/0.1355, allocations: 232.2 kB / 0.5292 GB, free: 13.78 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002667/0.1358, allocations: 259.9 kB / 0.5294 GB, free: 13.48 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.182e-05/0.1358, allocations: 74.38 kB / 0.5295 GB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002161/0.136, allocations: 100.1 kB / 0.5296 GB, free: 13.31 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00173/0.1378, allocations: 0.9321 MB / 0.5305 GB, free: 12.36 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.431e-05/0.1378, allocations: 7.938 kB / 0.5305 GB, free: 12.36 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.202e-05/0.1379, allocations: 47.94 kB / 0.5305 GB, free: 12.31 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.263e-05/0.1379, allocations: 24 kB / 0.5306 GB, free: 12.29 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001276/0.1392, allocations: 0.7223 MB / 0.5313 GB, free: 11.56 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006078/0.1453, allocations: 3.902 MB / 0.5351 GB, free: 7.328 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003827/0.1491, allocations: 3.33 MB / 0.5383 GB, free: 3.344 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004768/0.1496, allocations: 256.4 kB / 0.5386 GB, free: 3.082 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002508/0.1498, allocations: 93.42 kB / 0.5387 GB, free: 2.973 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.512e-05/0.1499, allocations: 42.89 kB / 0.5387 GB, free: 2.922 MB / 398.1 MB Notification: Performance of pre-optimization done (n=66): time 3.847e-06/0.1499, allocations: 0 / 0.5387 GB, free: 2.922 MB / 398.1 MB Notification: Performance of matching and sorting (n=66): time 0.003119/0.153, allocations: 1.323 MB / 0.54 GB, free: 1.512 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000126/0.1531, allocations: 140.5 kB / 0.5401 GB, free: 1.344 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004605/0.1536, allocations: 314.8 kB / 0.5404 GB, free: 1.027 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.998e-05/0.1536, allocations: 37.7 kB / 0.5405 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003274/0.154, allocations: 407.9 kB / 0.5409 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002078/0.1542, allocations: 242 kB / 0.5411 GB, free: 348 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002254/0.1544, allocations: 146.6 kB / 0.5412 GB, free: 196 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001984/0.1546, allocations: 354.8 kB / 0.5416 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000366/0.155, allocations: 193.9 kB / 0.5418 GB, free: 15.64 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005684/0.1555, allocations: 400.6 kB / 0.5421 GB, free: 15.17 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009309/0.1564, allocations: 0.6349 MB / 0.5428 GB, free: 14.46 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.1565, allocations: 4 kB / 0.5428 GB, free: 14.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001556/0.158, allocations: 0.87 MB / 0.5436 GB, free: 13.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.158, allocations: 12 kB / 0.5436 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.158, allocations: 4 kB / 0.5436 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006478/0.1587, allocations: 227.2 kB / 0.5438 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000496/0.1592, allocations: 143.8 kB / 0.544 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006732/0.1659, allocations: 6.706 MB / 0.5505 GB, free: 5.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004867/0.1664, allocations: 91.36 kB / 0.5506 GB, free: 5.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.416e-05/0.1665, allocations: 32 kB / 0.5507 GB, free: 5.789 MB / 414.1 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,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 prepare postOptimizeDAE: time 0.0003312/0.1668, allocations: 225.6 kB / 0.5509 GB, free: 5.559 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/0.1669, allocations: 43.72 kB / 0.5509 GB, free: 5.516 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001293/0.1682, allocations: 0.6872 MB / 0.5516 GB, free: 4.801 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.944e-06/0.1682, allocations: 8 kB / 0.5516 GB, free: 4.793 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.1682, allocations: 4 kB / 0.5516 GB, free: 4.789 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.1682, allocations: 3.984 kB / 0.5516 GB, free: 4.785 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002669/0.1709, allocations: 1.559 MB / 0.5531 GB, free: 3.156 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.1709, allocations: 0 / 0.5531 GB, free: 3.156 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002611/0.1712, allocations: 67.91 kB / 0.5532 GB, free: 3.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000526/0.1717, allocations: 211.2 kB / 0.5534 GB, free: 2.871 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.75e-05/0.1717, allocations: 20 kB / 0.5534 GB, free: 2.852 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006361/0.1781, allocations: 6.695 MB / 0.5599 GB, free: 11.6 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.1781, allocations: 4.031 kB / 0.5599 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00167/0.1798, allocations: 1.179 MB / 0.5611 GB, free: 10.39 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001489/0.1799, allocations: 132.7 kB / 0.5612 GB, free: 10.24 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.34e-05/0.18, allocations: 16.06 kB / 0.5612 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003156/0.1803, allocations: 12 kB / 0.5612 GB, free: 10.21 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.1804, allocations: 63.73 kB / 0.5613 GB, free: 10.15 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.078e-05/0.1804, allocations: 16 kB / 0.5613 GB, free: 10.14 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003038/0.1807, allocations: 213.9 kB / 0.5615 GB, free: 9.922 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1807, allocations: 0 / 0.5615 GB, free: 9.922 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001046/0.1818, allocations: 279.3 kB / 0.5618 GB, free: 9.648 MB / 430.1 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.000306/0.1821, allocations: 135.2 kB / 0.5619 GB, free: 9.508 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001635/0.1837, allocations: 1.041 MB / 0.5629 GB, free: 8.418 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1837, allocations: 0 / 0.5629 GB, free: 8.418 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008789/0.1846, allocations: 0.7604 MB / 0.5637 GB, free: 7.605 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006208/0.1852, allocations: 44.75 kB / 0.5637 GB, free: 7.562 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002017/0.1872, allocations: 1.26 MB / 0.565 GB, free: 6.262 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005346/0.1878, allocations: 0.9072 MB / 0.5658 GB, free: 5.324 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002257/0.188, allocations: 64.55 kB / 0.5659 GB, free: 5.262 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.652e-05/0.1881, allocations: 35.42 kB / 0.5659 GB, free: 5.23 MB / 430.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1881, allocations: 0 / 0.5659 GB, free: 5.23 MB / 430.1 MB Notification: Performance of Templates: time 0.01432/0.2024, allocations: 7.174 MB / 0.5729 GB, free: 14.06 MB / 446.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.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: 5.702320005744696]