Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001035/0.001035, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001236/0.001236, allocations: 164.9 kB / 25.61 MB, free: 8.902 MB / 18.57 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 0.931/0.931, allocations: 177.1 MB / 206 MB, free: 4.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1515/0.1515, allocations: 32.8 MB / 295.4 MB, free: 15.39 MB / 282.7 MB " [Timeout remaining time 180] 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.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.0.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.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 377.3 MB, free: 25.61 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.776e-05/2.968e-05, allocations: 2.312 kB / 377.3 MB, free: 25.61 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.005347/0.005376, allocations: 5.122 MB / 382.4 MB, free: 20.46 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002182/0.007558, allocations: 1.623 MB / 384 MB, free: 18.82 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002791/0.007838, allocations: 16 kB / 384 MB, free: 18.81 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001464/0.009301, allocations: 1.645 MB / 385.7 MB, free: 17.16 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000532/0.009833, allocations: 325.3 kB / 386 MB, free: 16.84 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006485/0.01048, allocations: 498.4 kB / 386.5 MB, free: 16.35 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005136/0.011, allocations: 0.8394 MB / 387.3 MB, free: 15.5 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006076/0.0116, allocations: 0.6312 MB / 387.9 MB, free: 14.86 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004091/0.01201, allocations: 0.5028 MB / 388.4 MB, free: 14.35 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003134/0.01233, allocations: 359 kB / 388.8 MB, free: 14 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.098e-05/0.0124, allocations: 72 kB / 388.9 MB, free: 13.93 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003052/0.0127, allocations: 195.7 kB / 389.1 MB, free: 13.74 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.923e-05/0.01276, allocations: 179.3 kB / 389.2 MB, free: 13.56 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001412/0.0129, allocations: 283.3 kB / 389.5 MB, free: 13.29 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006069/0.01351, allocations: 0.7667 MB / 390.3 MB, free: 12.52 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.01351, allocations: 4 kB / 390.3 MB, free: 12.51 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.01351, allocations: 0 / 390.3 MB, free: 12.51 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.269e-05/0.01353, allocations: 0 / 390.3 MB, free: 12.51 MB / 314.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.001737/0.01526, allocations: 1.42 MB / 391.7 MB, free: 11.05 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.01529, allocations: 15.97 kB / 391.7 MB, free: 11.04 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009109/0.01621, allocations: 399.7 kB / 392.1 MB, free: 10.65 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.01635, allocations: 204.1 kB / 392.3 MB, free: 10.42 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.057e-05/0.01639, allocations: 74.38 kB / 392.4 MB, free: 10.35 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.855e-05/0.01648, allocations: 96.38 kB / 392.5 MB, free: 10.25 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005695/0.01705, allocations: 0.6904 MB / 393.2 MB, free: 9.539 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.494e-05/0.01707, allocations: 11.83 kB / 393.2 MB, free: 9.527 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.419e-05/0.01711, allocations: 44 kB / 393.2 MB, free: 9.484 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.209e-05/0.01713, allocations: 24 kB / 393.2 MB, free: 9.461 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003317/0.01746, allocations: 331 kB / 393.6 MB, free: 9.141 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002211/0.01967, allocations: 2.796 MB / 396.4 MB, free: 6.215 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007129/0.02038, allocations: 0.755 MB / 397.1 MB, free: 5.422 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001221/0.0205, allocations: 178.1 kB / 397.3 MB, free: 5.238 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.295e-05/0.02057, allocations: 36.3 kB / 397.3 MB, free: 5.203 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/0.02059, allocations: 45.66 kB / 397.4 MB, free: 5.148 MB / 314.7 MB Notification: Performance of pre-optimization done (n=66): time 2.124e-06/0.02059, allocations: 0 / 397.4 MB, free: 5.148 MB / 314.7 MB Notification: Performance of matching and sorting (n=66): time 0.001221/0.02181, allocations: 0.8069 MB / 398.2 MB, free: 4.32 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.599e-05/0.02184, allocations: 132.5 kB / 398.3 MB, free: 4.16 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.022, allocations: 347.8 kB / 398.6 MB, free: 3.805 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.02202, allocations: 37.7 kB / 398.7 MB, free: 3.762 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.02213, allocations: 466.5 kB / 399.1 MB, free: 3.297 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.025e-05/0.02222, allocations: 246 kB / 399.4 MB, free: 3.055 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/0.02234, allocations: 164.1 kB / 399.5 MB, free: 2.887 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.503e-05/0.0224, allocations: 0.5273 MB / 400.1 MB, free: 2.348 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.71e-05/0.02249, allocations: 89.91 kB / 400.1 MB, free: 2.262 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001639/0.02265, allocations: 382.1 kB / 400.5 MB, free: 1.777 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003353/0.026, allocations: 0.5121 MB / 401 MB, free: 1.156 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.214e-06/0.02601, allocations: 3.938 kB / 401 MB, free: 1.152 MB / 314.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0006989/0.02671, allocations: 0.6831 MB / 401.7 MB, free: 456 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.02673, allocations: 11.94 kB / 401.7 MB, free: 444 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.02674, allocations: 11.98 kB / 401.7 MB, free: 432 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009948/0.02774, allocations: 254.6 kB / 402 MB, free: 160 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004276/0.02817, allocations: 139.8 kB / 402.1 MB, free: 20 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005572/0.03374, allocations: 7.618 MB / 409.7 MB, free: 7.938 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005808/0.03432, allocations: 87.34 kB / 409.8 MB, free: 7.852 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.238e-05/0.03438, allocations: 35.92 kB / 409.9 MB, free: 7.816 MB / 330.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.000327/0.03471, allocations: 204.5 kB / 410.1 MB, free: 7.605 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001634/0.03487, allocations: 59.77 kB / 410.1 MB, free: 7.547 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009356/0.03581, allocations: 0.5144 MB / 410.6 MB, free: 7.012 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.377e-06/0.03582, allocations: 12 kB / 410.6 MB, free: 7 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.174e-05/0.03583, allocations: 7.984 kB / 410.7 MB, free: 6.992 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.03584, allocations: 0 / 410.7 MB, free: 6.992 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002081/0.03792, allocations: 1.205 MB / 411.9 MB, free: 5.738 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.03792, allocations: 0 / 411.9 MB, free: 5.738 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002464/0.03817, allocations: 75.84 kB / 411.9 MB, free: 5.664 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008681/0.03904, allocations: 238.5 kB / 412.2 MB, free: 5.414 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.621e-05/0.03907, allocations: 15.98 kB / 412.2 MB, free: 5.398 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00507/0.04414, allocations: 7.606 MB / 419.8 MB, free: 13.34 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.04415, allocations: 0 / 419.8 MB, free: 13.34 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001283/0.04543, allocations: 1.084 MB / 420.9 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001338/0.04556, allocations: 51.53 kB / 420.9 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.546e-05/0.04562, allocations: 12 kB / 420.9 MB, free: 12.15 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003142/0.04593, allocations: 15.98 kB / 421 MB, free: 12.13 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/0.04605, allocations: 63.77 kB / 421 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-05/0.04608, allocations: 19.94 kB / 421 MB, free: 12.05 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001651/0.04625, allocations: 205.1 kB / 421.2 MB, free: 11.85 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.04625, allocations: 0 / 421.2 MB, free: 11.85 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009969/0.04724, allocations: 279.4 kB / 421.5 MB, free: 11.58 MB / 346.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.000231/0.04747, allocations: 139.1 kB / 421.6 MB, free: 11.43 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001044/0.04852, allocations: 1.145 MB / 422.8 MB, free: 10.22 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.04852, allocations: 0 / 422.8 MB, free: 10.22 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004658/0.04899, allocations: 0.9331 MB / 423.7 MB, free: 9.207 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004053/0.04939, allocations: 58.84 kB / 423.8 MB, free: 9.152 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/0.05074, allocations: 1.126 MB / 424.9 MB, free: 7.977 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001054/0.05085, allocations: 151.5 kB / 425.1 MB, free: 7.801 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001462/0.05099, allocations: 64.44 kB / 425.1 MB, free: 7.734 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.0511, allocations: 126.2 kB / 425.2 MB, free: 7.609 MB / 346.7 MB Notification: Performance of SimCode: time 6.11e-07/0.05111, allocations: 0 / 425.2 MB, free: 7.609 MB / 346.7 MB Notification: Performance of Templates: time 0.01034/0.06144, allocations: 7.581 MB / 432.8 MB, free: 120 kB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.423040125053376]