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.001082/0.001082, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001185/0.001185, allocations: 164.4 kB / 24.82 MB, free: 9.266 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 1.132/1.132, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.4073/0.4073, allocations: 32.8 MB / 294.6 MB, free: 1.238 MB / 266.7 MB " [Timeout remaining time 179] 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 2.635e-06/2.635e-06, allocations: 0 / 376.5 MB, free: 4.418 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.894e-05/4.158e-05, allocations: 2.312 kB / 376.5 MB, free: 4.414 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.005873/0.005914, allocations: 5.141 MB / 381.6 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004091/0.01001, allocations: 1.6 MB / 383.2 MB, free: 13.63 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007819/0.01079, allocations: 27.88 kB / 383.2 MB, free: 13.61 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003061/0.01385, allocations: 1.641 MB / 384.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001859/0.01571, allocations: 321.4 kB / 385.2 MB, free: 11.64 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001383/0.01709, allocations: 0.4984 MB / 385.7 MB, free: 11.14 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001598/0.01869, allocations: 0.8354 MB / 386.5 MB, free: 10.3 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001054/0.01974, allocations: 0.639 MB / 387.2 MB, free: 9.648 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008499/0.02059, allocations: 0.5028 MB / 387.7 MB, free: 9.145 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004866/0.02108, allocations: 355 kB / 388 MB, free: 8.797 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001142/0.02119, allocations: 76 kB / 388.1 MB, free: 8.723 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006517/0.02185, allocations: 195.7 kB / 388.3 MB, free: 8.531 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001458/0.02199, allocations: 183.3 kB / 388.5 MB, free: 8.352 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002816/0.02227, allocations: 291.3 kB / 388.7 MB, free: 8.066 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001167/0.02344, allocations: 0.7511 MB / 389.5 MB, free: 7.312 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/0.02345, allocations: 0 / 389.5 MB, free: 7.312 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.02345, allocations: 4 kB / 389.5 MB, free: 7.309 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.948e-05/0.02347, allocations: 0 / 389.5 MB, free: 7.309 MB / 362.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.002569/0.02604, allocations: 1.431 MB / 390.9 MB, free: 5.836 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.195e-05/0.02611, allocations: 15.98 kB / 390.9 MB, free: 5.82 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001193/0.0273, allocations: 395.8 kB / 391.3 MB, free: 5.434 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000608/0.02791, allocations: 204.1 kB / 391.5 MB, free: 5.207 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.602e-05/0.02799, allocations: 74.38 kB / 391.6 MB, free: 5.137 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001415/0.02813, allocations: 100.3 kB / 391.7 MB, free: 5.039 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009155/0.02904, allocations: 0.6981 MB / 392.4 MB, free: 4.312 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.293e-05/0.02908, allocations: 3.938 kB / 392.4 MB, free: 4.309 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.548e-05/0.02913, allocations: 40 kB / 392.4 MB, free: 4.27 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.329e-05/0.02916, allocations: 24 kB / 392.5 MB, free: 4.246 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004462/0.0296, allocations: 332.6 kB / 392.8 MB, free: 3.926 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004053/0.03365, allocations: 2.788 MB / 395.6 MB, free: 1.012 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009773/0.03463, allocations: 0.7612 MB / 396.3 MB, free: 216 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001861/0.03482, allocations: 180.7 kB / 396.5 MB, free: 20 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001299/0.03495, allocations: 36.33 kB / 396.5 MB, free: 15.98 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.742e-05/0.035, allocations: 49.58 kB / 396.6 MB, free: 15.92 MB / 378.7 MB Notification: Performance of pre-optimization done (n=66): time 5.961e-06/0.035, allocations: 0 / 396.6 MB, free: 15.92 MB / 378.7 MB Notification: Performance of matching and sorting (n=66): time 0.001494/0.03649, allocations: 0.8087 MB / 397.4 MB, free: 15.1 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.935e-05/0.03655, allocations: 136.5 kB / 397.5 MB, free: 14.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002831/0.03684, allocations: 339.9 kB / 397.9 MB, free: 14.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.905e-05/0.03687, allocations: 37.7 kB / 397.9 MB, free: 14.54 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002773/0.03714, allocations: 466.5 kB / 398.4 MB, free: 14.08 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001769/0.03732, allocations: 245.9 kB / 398.6 MB, free: 13.84 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001737/0.03749, allocations: 160.2 kB / 398.8 MB, free: 13.67 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002179/0.03771, allocations: 0.5312 MB / 399.3 MB, free: 13.13 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.03783, allocations: 89.92 kB / 399.4 MB, free: 13.04 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002948/0.03813, allocations: 374 kB / 399.7 MB, free: 12.57 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004534/0.03858, allocations: 0.5155 MB / 400.3 MB, free: 11.94 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.03858, allocations: 0 / 400.3 MB, free: 11.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0007737/0.03936, allocations: 0.687 MB / 400.9 MB, free: 11.23 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.967e-05/0.03939, allocations: 14.12 kB / 401 MB, free: 11.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-05/0.0394, allocations: 12 kB / 401 MB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006814/0.04008, allocations: 254.6 kB / 401.2 MB, free: 10.94 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002823/0.04037, allocations: 139.8 kB / 401.4 MB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005087/0.04545, allocations: 7.623 MB / 409 MB, free: 2.723 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005311/0.04599, allocations: 87.5 kB / 409.1 MB, free: 2.637 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.173e-05/0.04603, allocations: 31.97 kB / 409.1 MB, free: 2.605 MB / 378.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.0008529/0.04688, allocations: 208.3 kB / 409.3 MB, free: 2.391 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/0.04699, allocations: 59.77 kB / 409.4 MB, free: 2.332 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006687/0.04766, allocations: 0.5134 MB / 409.9 MB, free: 1.797 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.04767, allocations: 8 kB / 409.9 MB, free: 1.789 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.04767, allocations: 4 kB / 409.9 MB, free: 1.785 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.818e-06/0.04768, allocations: 7.984 kB / 409.9 MB, free: 1.777 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001508/0.04919, allocations: 1.202 MB / 411.1 MB, free: 0.5234 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.0492, allocations: 0 / 411.1 MB, free: 0.5234 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000152/0.04935, allocations: 71.84 kB / 411.2 MB, free: 464 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005427/0.04989, allocations: 242.5 kB / 411.4 MB, free: 204 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.445e-05/0.04991, allocations: 15.94 kB / 411.4 MB, free: 188 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004386/0.0543, allocations: 7.619 MB / 419 MB, free: 8.105 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/0.0543, allocations: 0 / 419 MB, free: 8.105 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009889/0.05529, allocations: 1.088 MB / 420.1 MB, free: 6.98 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.05541, allocations: 47.58 kB / 420.2 MB, free: 6.934 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.613e-05/0.05545, allocations: 12 kB / 420.2 MB, free: 6.922 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001898/0.05564, allocations: 19.98 kB / 420.2 MB, free: 6.902 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001494/0.05579, allocations: 55.83 kB / 420.3 MB, free: 6.848 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.623e-05/0.05582, allocations: 19.94 kB / 420.3 MB, free: 6.828 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001839/0.056, allocations: 209.1 kB / 420.5 MB, free: 6.621 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.056, allocations: 0 / 420.5 MB, free: 6.621 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001011/0.05701, allocations: 275.3 kB / 420.7 MB, free: 6.352 MB / 394.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.0002975/0.05731, allocations: 143.2 kB / 420.9 MB, free: 6.203 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001151/0.05846, allocations: 1.141 MB / 422 MB, free: 4.992 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.05846, allocations: 0 / 422 MB, free: 4.992 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006502/0.05911, allocations: 0.9418 MB / 423 MB, free: 3.973 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004938/0.05961, allocations: 60.53 kB / 423 MB, free: 3.914 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002366/0.06197, allocations: 1.133 MB / 424.2 MB, free: 2.73 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001627/0.06213, allocations: 151.5 kB / 424.3 MB, free: 2.555 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001706/0.06231, allocations: 60.44 kB / 424.4 MB, free: 2.496 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001282/0.06243, allocations: 126.2 kB / 424.5 MB, free: 2.371 MB / 394.7 MB Notification: Performance of SimCode: time 1.814e-06/0.06244, allocations: 0 / 424.5 MB, free: 2.371 MB / 394.7 MB Notification: Performance of Templates: time 0.0137/0.07614, allocations: 7.446 MB / 431.9 MB, free: 10.99 MB / 410.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: 4.195616174954921]