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.001386/0.001386, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.0009736/0.0009736, allocations: 169.6 kB / 24.91 MB, free: 8.734 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.019/1.019, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] 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.2463/0.2463, allocations: 34.26 MB / 296.1 MB, free: 0.6445 MB / 266.7 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 1.402e-06/1.402e-06, allocations: 0 / 325.3 MB, free: 7.629 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.671e-05/1.811e-05, allocations: 3.672 kB / 325.3 MB, free: 7.625 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.004908/0.004926, allocations: 5.187 MB / 330.5 MB, free: 2.414 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002027/0.006953, allocations: 1.685 MB / 332.1 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001639/0.007117, allocations: 20 kB / 332.2 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001565/0.008682, allocations: 1.676 MB / 333.8 MB, free: 15.01 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003936/0.009075, allocations: 325.3 kB / 334.2 MB, free: 14.69 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005897/0.009665, allocations: 0.5062 MB / 334.7 MB, free: 14.18 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005096/0.01017, allocations: 0.8277 MB / 335.5 MB, free: 13.35 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006205/0.0108, allocations: 0.6879 MB / 336.2 MB, free: 12.64 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003959/0.01119, allocations: 0.4989 MB / 336.7 MB, free: 12.14 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003274/0.01152, allocations: 371 kB / 337 MB, free: 11.78 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.31e-05/0.01158, allocations: 76 kB / 337.1 MB, free: 11.7 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002514/0.01183, allocations: 195.8 kB / 337.3 MB, free: 11.51 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.442e-05/0.01192, allocations: 183.3 kB / 337.5 MB, free: 11.33 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001655/0.01208, allocations: 291.3 kB / 337.8 MB, free: 11.05 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005661/0.01265, allocations: 0.7628 MB / 338.5 MB, free: 10.28 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.01265, allocations: 0 / 338.5 MB, free: 10.28 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.01265, allocations: 0 / 338.5 MB, free: 10.28 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.01266, allocations: 0 / 338.5 MB, free: 10.28 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.002055/0.01471, allocations: 1.351 MB / 339.9 MB, free: 8.906 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.751e-05/0.01474, allocations: 8.031 kB / 339.9 MB, free: 8.898 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001028/0.01577, allocations: 404.2 kB / 340.3 MB, free: 8.504 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.01589, allocations: 208.6 kB / 340.5 MB, free: 8.277 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.352e-05/0.01594, allocations: 78.38 kB / 340.6 MB, free: 8.199 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.979e-05/0.01602, allocations: 100.3 kB / 340.7 MB, free: 8.102 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005548/0.01657, allocations: 0.6753 MB / 341.3 MB, free: 7.406 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.297e-05/0.01659, allocations: 7.938 kB / 341.4 MB, free: 7.398 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.903e-05/0.01663, allocations: 36 kB / 341.4 MB, free: 7.363 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/0.01665, allocations: 24 kB / 341.4 MB, free: 7.34 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003115/0.01696, allocations: 284 kB / 341.7 MB, free: 7.07 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002222/0.01918, allocations: 2.246 MB / 343.9 MB, free: 4.707 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007071/0.01989, allocations: 0.6695 MB / 344.6 MB, free: 4 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001233/0.02001, allocations: 153.6 kB / 344.8 MB, free: 3.84 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.987e-05/0.02006, allocations: 24.31 kB / 344.8 MB, free: 3.816 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.02009, allocations: 50.88 kB / 344.8 MB, free: 3.758 MB / 314.7 MB Notification: Performance of pre-optimization done (n=66): time 1.864e-06/0.02009, allocations: 4 kB / 344.8 MB, free: 3.754 MB / 314.7 MB Notification: Performance of matching and sorting (n=66): time 0.0009961/0.02108, allocations: 0.6938 MB / 345.5 MB, free: 3.043 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.02113, allocations: 136.5 kB / 345.7 MB, free: 2.879 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004078/0.02153, allocations: 276.6 kB / 345.9 MB, free: 2.598 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.02156, allocations: 37.7 kB / 346 MB, free: 2.555 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/0.0217, allocations: 403.8 kB / 346.4 MB, free: 2.152 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/0.0218, allocations: 245.9 kB / 346.6 MB, free: 1.91 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/0.02192, allocations: 150.5 kB / 346.7 MB, free: 1.758 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.221e-05/0.02201, allocations: 354.7 kB / 347.1 MB, free: 1.402 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.951e-05/0.02209, allocations: 73.97 kB / 347.2 MB, free: 1.332 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001725/0.02226, allocations: 300.6 kB / 347.5 MB, free: 0.957 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003072/0.02257, allocations: 434.2 kB / 347.9 MB, free: 464 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.02257, allocations: 0 / 347.9 MB, free: 464 kB / 314.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0005232/0.02309, allocations: 0.544 MB / 348.4 MB, free: 15.89 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.02311, allocations: 8 kB / 348.4 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.02311, allocations: 8.406 kB / 348.4 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005026/0.02362, allocations: 239.1 kB / 348.7 MB, free: 15.63 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002474/0.02386, allocations: 151.7 kB / 348.8 MB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0027/0.02656, allocations: 5.29 MB / 354.1 MB, free: 9.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001987/0.02676, allocations: 83.41 kB / 354.2 MB, free: 9.758 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.912e-05/0.02679, allocations: 27.98 kB / 354.2 MB, free: 9.73 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.0001237/0.02692, allocations: 165.6 kB / 354.4 MB, free: 9.559 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.651e-05/0.02699, allocations: 47.91 kB / 354.4 MB, free: 9.512 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004371/0.02743, allocations: 429.8 kB / 354.8 MB, free: 9.078 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.02743, allocations: 8 kB / 354.9 MB, free: 9.07 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.02744, allocations: 4 kB / 354.9 MB, free: 9.066 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.02744, allocations: 7.984 kB / 354.9 MB, free: 9.059 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009203/0.02837, allocations: 0.8925 MB / 355.8 MB, free: 8.129 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.02837, allocations: 192 / 355.8 MB, free: 8.129 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001314/0.0285, allocations: 71.91 kB / 355.8 MB, free: 8.059 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004554/0.02895, allocations: 219.2 kB / 356 MB, free: 7.832 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.041e-05/0.02897, allocations: 15.98 kB / 356.1 MB, free: 7.816 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002554/0.03153, allocations: 5.299 MB / 361.4 MB, free: 2.168 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.03153, allocations: 3.984 kB / 361.4 MB, free: 2.164 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005585/0.03209, allocations: 0.7987 MB / 362.2 MB, free: 1.336 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.648e-05/0.03213, allocations: 55.52 kB / 362.2 MB, free: 1.281 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.684e-05/0.03215, allocations: 12 kB / 362.2 MB, free: 1.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/0.03231, allocations: 12 kB / 362.2 MB, free: 1.258 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.915e-05/0.03237, allocations: 55.89 kB / 362.3 MB, free: 1.203 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.03238, allocations: 12 kB / 362.3 MB, free: 1.191 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.373e-05/0.03245, allocations: 90.69 kB / 362.4 MB, free: 1.102 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03245, allocations: 0 / 362.4 MB, free: 1.102 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004989/0.03295, allocations: 283.3 kB / 362.7 MB, free: 0.8242 MB / 330.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.0001579/0.0331, allocations: 120.3 kB / 362.8 MB, free: 0.6992 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006272/0.03373, allocations: 0.884 MB / 363.7 MB, free: 15.77 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.598e-06/0.03374, allocations: 4.5 kB / 363.7 MB, free: 15.76 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003758/0.03412, allocations: 0.7029 MB / 364.4 MB, free: 15 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003358/0.03445, allocations: 50.5 kB / 364.4 MB, free: 14.96 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.03565, allocations: 1.089 MB / 365.5 MB, free: 13.82 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000101/0.03575, allocations: 155.5 kB / 365.7 MB, free: 13.64 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000141/0.03589, allocations: 64.42 kB / 365.7 MB, free: 13.58 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.03599, allocations: 103.4 kB / 365.8 MB, free: 13.48 MB / 346.7 MB Notification: Performance of SimCode: time 5.71e-07/0.03599, allocations: 0 / 365.8 MB, free: 13.48 MB / 346.7 MB Notification: Performance of Templates: time 0.009798/0.04579, allocations: 7.444 MB / 373.3 MB, free: 6.129 MB / 346.7 MB " [Timeout remaining time 660] 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) [Timeout 240] 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","",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.0551170841790736]