Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.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.0009548/0.0009548, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.0009852/0.0009852, allocations: 174.5 kB / 24.92 MB, free: 8.77 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.027/1.027, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.2483/0.2483, allocations: 34.27 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.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.abs_V_m|reluctance.abs_Phi|permeance.abs_V_m|permeance.abs_Phi|magFluxSource.gamma",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.abs_V_m|reluctance.abs_Phi|permeance.abs_V_m|permeance.abs_Phi|magFluxSource.gamma",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 325.3 MB, free: 7.637 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.524e-05/2.672e-05, allocations: 4.984 kB / 325.3 MB, free: 7.633 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.004523/0.00455, allocations: 2.53 MB / 327.8 MB, free: 5.086 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002197/0.006747, allocations: 1.079 MB / 328.9 MB, free: 4 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001677/0.006915, allocations: 8 kB / 328.9 MB, free: 3.992 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001359/0.008274, allocations: 0.521 MB / 329.4 MB, free: 3.469 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004016/0.008676, allocations: 115.1 kB / 329.5 MB, free: 3.355 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000934/0.00961, allocations: 450.1 kB / 330 MB, free: 2.914 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003664/0.009976, allocations: 244.9 kB / 330.2 MB, free: 2.676 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004459/0.01042, allocations: 230.5 kB / 330.4 MB, free: 2.453 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003025/0.01072, allocations: 151.6 kB / 330.6 MB, free: 2.305 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002021/0.01093, allocations: 95.77 kB / 330.7 MB, free: 2.211 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.805e-05/0.01097, allocations: 20 kB / 330.7 MB, free: 2.191 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004082/0.01138, allocations: 155.7 kB / 330.8 MB, free: 2.039 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.72e-05/0.01143, allocations: 43.84 kB / 330.9 MB, free: 1.996 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.076e-05/0.01152, allocations: 79.81 kB / 331 MB, free: 1.918 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005283/0.01205, allocations: 306.9 kB / 331.3 MB, free: 1.617 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.01205, allocations: 4 kB / 331.3 MB, free: 1.613 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.01206, allocations: 0 / 331.3 MB, free: 1.613 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.01206, allocations: 0 / 331.3 MB, free: 1.613 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001152/0.01321, allocations: 0.5481 MB / 331.8 MB, free: 1.039 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.01325, allocations: 8.031 kB / 331.8 MB, free: 1.031 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003905/0.01364, allocations: 80.81 kB / 331.9 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.01378, allocations: 144.6 kB / 332 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.352e-05/0.0138, allocations: 16.88 kB / 332.1 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.55e-05/0.01385, allocations: 28.38 kB / 332.1 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003468/0.0142, allocations: 223.9 kB / 332.3 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.01421, allocations: 192 / 332.3 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.612e-05/0.01424, allocations: 12.38 kB / 332.3 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.01425, allocations: 7.938 kB / 332.3 MB, free: 500 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001498/0.0144, allocations: 63.45 kB / 332.4 MB, free: 436 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001147/0.01554, allocations: 0.6467 MB / 333 MB, free: 15.75 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002399/0.01578, allocations: 153 kB / 333.2 MB, free: 15.58 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000143/0.01593, allocations: 69.73 kB / 333.2 MB, free: 15.5 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.499e-05/0.01602, allocations: 15.98 kB / 333.3 MB, free: 15.49 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.01605, allocations: 39.5 kB / 333.3 MB, free: 15.44 MB / 314.7 MB Notification: Performance of pre-optimization done (n=19): time 3.286e-06/0.01606, allocations: 3.984 kB / 333.3 MB, free: 15.44 MB / 314.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005347/0.01659, allocations: 187.3 kB / 333.5 MB, free: 15.24 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.741e-05/0.01663, allocations: 81.11 kB / 333.6 MB, free: 15.14 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.417e-05/0.01672, allocations: 134.5 kB / 333.7 MB, free: 15 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.01674, allocations: 33.7 kB / 333.7 MB, free: 14.96 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.142e-05/0.01681, allocations: 140.3 kB / 333.9 MB, free: 14.82 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.167e-05/0.01686, allocations: 67.42 kB / 333.9 MB, free: 14.75 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.607e-05/0.01693, allocations: 41.64 kB / 334 MB, free: 14.71 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.888e-05/0.01703, allocations: 330.7 kB / 334.3 MB, free: 14.38 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.049e-05/0.01708, allocations: 24.22 kB / 334.3 MB, free: 14.35 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.005e-05/0.01716, allocations: 68.36 kB / 334.4 MB, free: 14.27 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001489/0.01731, allocations: 112.6 kB / 334.5 MB, free: 14.14 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.01731, allocations: 0 / 334.5 MB, free: 14.14 MB / 314.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002629/0.01757, allocations: 147.1 kB / 334.6 MB, free: 13.98 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.01759, allocations: 15.92 kB / 334.7 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.0176, allocations: 0 / 334.7 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001734/0.01777, allocations: 41.7 kB / 334.7 MB, free: 13.92 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/0.01792, allocations: 43.91 kB / 334.7 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001387/0.0193, allocations: 2.357 MB / 337.1 MB, free: 11.35 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.459e-05/0.01939, allocations: 19.89 kB / 337.1 MB, free: 11.33 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.0194, allocations: 11.92 kB / 337.1 MB, free: 11.32 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.776e-05/0.0195, allocations: 125.8 kB / 337.3 MB, free: 11.18 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.687e-05/0.01955, allocations: 11.98 kB / 337.3 MB, free: 11.17 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000235/0.01978, allocations: 146.2 kB / 337.4 MB, free: 11.02 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.01979, allocations: 4.141 kB / 337.4 MB, free: 11.01 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.01979, allocations: 3.984 kB / 337.4 MB, free: 11.01 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.0198, allocations: 3.984 kB / 337.4 MB, free: 11 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005281/0.02032, allocations: 362 kB / 337.8 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.02033, allocations: 0 / 337.8 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/0.02043, allocations: 32.05 kB / 337.8 MB, free: 10.58 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001054/0.02054, allocations: 49.61 kB / 337.9 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.02055, allocations: 7.938 kB / 337.9 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001232/0.02178, allocations: 2.345 MB / 340.2 MB, free: 8 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.02178, allocations: 7.938 kB / 340.2 MB, free: 7.992 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003097/0.02209, allocations: 346.6 kB / 340.6 MB, free: 7.625 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.976e-05/0.02211, allocations: 19.78 kB / 340.6 MB, free: 7.605 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.068e-05/0.02213, allocations: 8 kB / 340.6 MB, free: 7.598 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/0.02227, allocations: 7.984 kB / 340.6 MB, free: 7.59 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.181e-05/0.02232, allocations: 19.97 kB / 340.6 MB, free: 7.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.02233, allocations: 8 kB / 340.6 MB, free: 7.562 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.33e-05/0.02235, allocations: 21.95 kB / 340.6 MB, free: 7.539 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02235, allocations: 0 / 340.6 MB, free: 7.539 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002807/0.02263, allocations: 75.83 kB / 340.7 MB, free: 7.465 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (magFluxSource.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 (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000156/0.02279, allocations: 116.3 kB / 340.8 MB, free: 7.344 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002712/0.02306, allocations: 325.9 kB / 341.1 MB, free: 6.996 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.02307, allocations: 3.938 kB / 341.1 MB, free: 6.992 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002012/0.02327, allocations: 288.4 kB / 341.4 MB, free: 6.684 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002013/0.02347, allocations: 19.84 kB / 341.4 MB, free: 6.664 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007042/0.02417, allocations: 440.7 kB / 341.9 MB, free: 6.199 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.649e-05/0.02423, allocations: 80.22 kB / 342 MB, free: 6.102 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.004e-05/0.02428, allocations: 17.14 kB / 342 MB, free: 6.082 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.887e-05/0.02434, allocations: 63.38 kB / 342 MB, free: 6.02 MB / 314.7 MB Notification: Performance of SimCode: time 6.01e-07/0.02434, allocations: 0 / 342 MB, free: 6.02 MB / 314.7 MB Notification: Performance of Templates: time 0.00463/0.02897, allocations: 2.523 MB / 344.6 MB, free: 3.547 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/VariableComponents/VariableComponents.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: 2.9595105149783194]