Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001425/0.001425, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.001617/0.001617, allocations: 200.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.568/1.568, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2481/0.2481, allocations: 46.93 MB / 357.1 MB, free: 10.32 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 67.91 kB / 0.4914 GB, free: 7.484 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1303, allocations: 66 MB / 0.5559 GB, free: 5.363 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.007656/0.1379, allocations: 5.356 MB / 0.5611 GB, free: 15.98 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003393/0.1413, allocations: 1.654 MB / 0.5627 GB, free: 14.32 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006215/0.142, allocations: 16 kB / 0.5627 GB, free: 14.3 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004014/0.146, allocations: 1.606 MB / 0.5643 GB, free: 12.69 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001063/0.147, allocations: 313.6 kB / 0.5646 GB, free: 12.38 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001354/0.1484, allocations: 0.5295 MB / 0.5651 GB, free: 11.86 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001339/0.1497, allocations: 0.8046 MB / 0.5659 GB, free: 11.05 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001146/0.1509, allocations: 0.5572 MB / 0.5664 GB, free: 10.47 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005593/0.1514, allocations: 350.7 kB / 0.5668 GB, free: 10.12 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006645/0.1521, allocations: 466.2 kB / 0.5672 GB, free: 9.668 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001325/0.1522, allocations: 72 kB / 0.5673 GB, free: 9.598 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004626/0.1527, allocations: 199.9 kB / 0.5675 GB, free: 9.402 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001672/0.1529, allocations: 179.4 kB / 0.5676 GB, free: 9.227 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004799/0.1533, allocations: 425.9 kB / 0.568 GB, free: 8.809 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001454/0.1548, allocations: 1.175 MB / 0.5692 GB, free: 7.629 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.1548, allocations: 0 / 0.5692 GB, free: 7.629 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1548, allocations: 0 / 0.5692 GB, free: 7.629 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.958e-05/0.1548, allocations: 3.938 kB / 0.5692 GB, free: 7.625 MB / 430.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.00362/0.1584, allocations: 1.376 MB / 0.5705 GB, free: 6.199 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.1585, allocations: 13.11 kB / 0.5706 GB, free: 6.188 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001716/0.1602, allocations: 232.2 kB / 0.5708 GB, free: 5.961 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002712/0.1605, allocations: 255.8 kB / 0.571 GB, free: 5.672 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.876e-05/0.1605, allocations: 78.38 kB / 0.5711 GB, free: 5.594 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001533/0.1607, allocations: 104.1 kB / 0.5712 GB, free: 5.492 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001659/0.1624, allocations: 0.9321 MB / 0.5721 GB, free: 4.543 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.076e-05/0.1624, allocations: 7.953 kB / 0.5721 GB, free: 4.535 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-05/0.1625, allocations: 40 kB / 0.5721 GB, free: 4.496 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.794e-05/0.1625, allocations: 27.98 kB / 0.5722 GB, free: 4.469 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001344/0.1639, allocations: 0.7262 MB / 0.5729 GB, free: 3.746 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005608/0.1695, allocations: 4.088 MB / 0.5769 GB, free: 15.29 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003163/0.1726, allocations: 3.32 MB / 0.5801 GB, free: 11.32 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004232/0.173, allocations: 265.5 kB / 0.5804 GB, free: 11.05 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000179/0.1732, allocations: 178.5 kB / 0.5805 GB, free: 10.84 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.867e-05/0.1733, allocations: 42.88 kB / 0.5806 GB, free: 10.79 MB / 446.1 MB Notification: Performance of pre-optimization done (n=66): time 2.214e-06/0.1733, allocations: 4 kB / 0.5806 GB, free: 10.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=66): time 0.003006/0.1763, allocations: 1.327 MB / 0.5819 GB, free: 9.367 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.99e-05/0.1764, allocations: 144.4 kB / 0.582 GB, free: 9.195 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000416/0.1768, allocations: 310.9 kB / 0.5823 GB, free: 8.883 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.16e-05/0.1768, allocations: 37.69 kB / 0.5824 GB, free: 8.84 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000304/0.1771, allocations: 415.8 kB / 0.5827 GB, free: 8.426 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002068/0.1773, allocations: 241.9 kB / 0.583 GB, free: 8.188 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000231/0.1776, allocations: 150.6 kB / 0.5831 GB, free: 8.035 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001971/0.1778, allocations: 350.8 kB / 0.5835 GB, free: 7.684 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003817/0.1782, allocations: 197.9 kB / 0.5836 GB, free: 7.492 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005811/0.1787, allocations: 398.8 kB / 0.584 GB, free: 7.023 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001008/0.1797, allocations: 0.6298 MB / 0.5846 GB, free: 6.312 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.1797, allocations: 0 / 0.5846 GB, free: 6.312 MB / 446.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001637/0.1814, allocations: 0.8738 MB / 0.5855 GB, free: 5.418 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.1814, allocations: 12.09 kB / 0.5855 GB, free: 5.406 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.1814, allocations: 4 kB / 0.5855 GB, free: 5.402 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007132/0.1821, allocations: 227.2 kB / 0.5857 GB, free: 5.168 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005088/0.1826, allocations: 143.8 kB / 0.5859 GB, free: 5.027 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.28/0.4627, allocations: 6.698 MB / 0.5924 GB, free: 32.03 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000689/0.4633, allocations: 87.09 kB / 0.5925 GB, free: 32.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.358e-05/0.4634, allocations: 34.78 kB / 0.5925 GB, free: 32.03 MB / 446.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.0003682/0.4638, allocations: 229.9 kB / 0.5927 GB, free: 31.92 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001515/0.4639, allocations: 44.55 kB / 0.5928 GB, free: 31.92 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001271/0.4652, allocations: 0.6814 MB / 0.5934 GB, free: 31.85 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.4652, allocations: 7.281 kB / 0.5935 GB, free: 31.85 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.4652, allocations: 9.406 kB / 0.5935 GB, free: 31.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.4652, allocations: 4.375 kB / 0.5935 GB, free: 31.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002315/0.4675, allocations: 1.566 MB / 0.595 GB, free: 31.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.4675, allocations: 1.5 kB / 0.595 GB, free: 31.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002465/0.4678, allocations: 68.28 kB / 0.5951 GB, free: 31.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005057/0.4683, allocations: 217.7 kB / 0.5953 GB, free: 31.38 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.103e-05/0.4683, allocations: 15.22 kB / 0.5953 GB, free: 31.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00423/0.4725, allocations: 6.701 MB / 0.6018 GB, free: 25.67 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.4726, allocations: 8.688 kB / 0.6018 GB, free: 25.66 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001635/0.4742, allocations: 1.178 MB / 0.603 GB, free: 24.94 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.4743, allocations: 131.3 kB / 0.6031 GB, free: 24.82 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.232e-05/0.4744, allocations: 12.55 kB / 0.6031 GB, free: 24.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003384/0.4747, allocations: 24.2 kB / 0.6031 GB, free: 24.79 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/0.4748, allocations: 52.8 kB / 0.6032 GB, free: 24.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.689e-05/0.4748, allocations: 18.2 kB / 0.6032 GB, free: 24.78 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002622/0.4751, allocations: 216 kB / 0.6034 GB, free: 24.66 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4751, allocations: 0 / 0.6034 GB, free: 24.66 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001372/0.4765, allocations: 281.9 kB / 0.6037 GB, free: 24.61 MB / 446.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.0002395/0.4767, allocations: 136.1 kB / 0.6038 GB, free: 24.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001557/0.4783, allocations: 1.049 MB / 0.6048 GB, free: 23.83 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4783, allocations: 0 / 0.6048 GB, free: 23.83 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007777/0.479, allocations: 0.7656 MB / 0.6056 GB, free: 23.24 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006402/0.4797, allocations: 42.33 kB / 0.6056 GB, free: 23.21 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002151/0.4818, allocations: 1.23 MB / 0.6068 GB, free: 22.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005289/0.4824, allocations: 0.9139 MB / 0.6077 GB, free: 21.79 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002433/0.4826, allocations: 67.3 kB / 0.6078 GB, free: 21.77 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.4827, allocations: 43.33 kB / 0.6078 GB, free: 21.76 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4827, allocations: 3.719 kB / 0.6078 GB, free: 21.76 MB / 446.1 MB Notification: Performance of Templates: time 0.01469/0.4974, allocations: 7.041 MB / 0.6147 GB, free: 21.12 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.854455955326557]