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.001518/0.001518, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001671/0.001671, allocations: 209.8 kB / 24.5 MB, free: 4.133 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.426/1.426, allocations: 230.6 MB / 258.3 MB, free: 8.035 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.2193/0.2193, allocations: 46.94 MB / 361.6 MB, free: 4.293 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.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 0.002196/0.002196, allocations: 63.91 kB / 0.4974 GB, free: 7.43 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.3352, allocations: 66.03 MB / 0.5619 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.00381/0.339, allocations: 2.512 MB / 0.5643 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001772/0.3407, allocations: 1.113 MB / 0.5654 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.045e-05/0.3408, allocations: 4 kB / 0.5654 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001289/0.3421, allocations: 0.5056 MB / 0.5659 GB, free: 284 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002793/0.3424, allocations: 111.2 kB / 0.566 GB, free: 172 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009262/0.3433, allocations: 494.1 kB / 0.5665 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003174/0.3436, allocations: 223 kB / 0.5667 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004299/0.3441, allocations: 229.2 kB / 0.5669 GB, free: 15.24 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001944/0.3443, allocations: 103.6 kB / 0.567 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000169/0.3444, allocations: 123.5 kB / 0.5671 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.35e-05/0.3445, allocations: 24 kB / 0.5671 GB, free: 15 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003019/0.3448, allocations: 155.9 kB / 0.5673 GB, free: 14.84 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.666e-05/0.3448, allocations: 51.78 kB / 0.5673 GB, free: 14.79 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001115/0.3449, allocations: 115.5 kB / 0.5675 GB, free: 14.68 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004985/0.3454, allocations: 394.3 kB / 0.5678 GB, free: 14.3 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.3454, allocations: 4 kB / 0.5678 GB, free: 14.29 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3454, allocations: 0 / 0.5678 GB, free: 14.29 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.75e-06/0.3454, allocations: 0 / 0.5678 GB, free: 14.29 MB / 414.1 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.001225/0.3467, allocations: 0.5521 MB / 0.5684 GB, free: 13.71 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.3467, allocations: 8.031 kB / 0.5684 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003162/0.347, allocations: 60.77 kB / 0.5684 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.3472, allocations: 138.1 kB / 0.5686 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.562e-05/0.3472, allocations: 20.88 kB / 0.5686 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.666e-05/0.3472, allocations: 24.38 kB / 0.5686 GB, free: 13.44 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005776/0.3478, allocations: 286.9 kB / 0.5689 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.3478, allocations: 3.938 kB / 0.5689 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.911e-05/0.3478, allocations: 15.98 kB / 0.5689 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.3479, allocations: 8 kB / 0.5689 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005601/0.3484, allocations: 233.5 kB / 0.5691 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001485/0.3499, allocations: 0.9339 MB / 0.57 GB, free: 11.89 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004493/0.3503, allocations: 211.3 kB / 0.5703 GB, free: 11.68 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003233/0.3507, allocations: 125.7 kB / 0.5704 GB, free: 11.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001063/0.3508, allocations: 19.92 kB / 0.5704 GB, free: 11.53 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.3508, allocations: 34.56 kB / 0.5704 GB, free: 11.48 MB / 414.1 MB Notification: Performance of pre-optimization done (n=19): time 1.263e-06/0.3508, allocations: 0 / 0.5704 GB, free: 11.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001103/0.3519, allocations: 351.2 kB / 0.5708 GB, free: 11.13 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.275e-05/0.352, allocations: 81.09 kB / 0.5708 GB, free: 11.03 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.3521, allocations: 148.4 kB / 0.571 GB, free: 10.88 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.3521, allocations: 33.64 kB / 0.571 GB, free: 10.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.162e-05/0.3522, allocations: 140.4 kB / 0.5711 GB, free: 10.7 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.917e-05/0.3523, allocations: 75.31 kB / 0.5712 GB, free: 10.62 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.741e-05/0.3523, allocations: 41.7 kB / 0.5713 GB, free: 10.58 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.3525, allocations: 318.8 kB / 0.5716 GB, free: 10.26 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002013/0.3527, allocations: 75.94 kB / 0.5716 GB, free: 10.18 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00023/0.3529, allocations: 122 kB / 0.5717 GB, free: 10.04 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000428/0.3533, allocations: 200.5 kB / 0.5719 GB, free: 9.828 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.3533, allocations: 112 / 0.5719 GB, free: 9.828 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005948/0.3539, allocations: 282.9 kB / 0.5722 GB, free: 9.539 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.3539, allocations: 8 kB / 0.5722 GB, free: 9.531 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.3539, allocations: 3.938 kB / 0.5722 GB, free: 9.527 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002046/0.3542, allocations: 53.88 kB / 0.5723 GB, free: 9.469 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000194/0.3543, allocations: 39.97 kB / 0.5723 GB, free: 9.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002105/0.3565, allocations: 2.637 MB / 0.5749 GB, free: 6.559 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001518/0.3566, allocations: 31.83 kB / 0.5749 GB, free: 6.527 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.251e-05/0.3566, allocations: 11.98 kB / 0.5749 GB, free: 6.516 MB / 414.1 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 0.0001433/0.3568, allocations: 145.7 kB / 0.5751 GB, free: 6.363 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.543e-05/0.3568, allocations: 11.95 kB / 0.5751 GB, free: 6.352 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006332/0.3575, allocations: 260.2 kB / 0.5753 GB, free: 6.082 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.3575, allocations: 4 kB / 0.5753 GB, free: 6.078 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.3575, allocations: 0 / 0.5753 GB, free: 6.078 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.3575, allocations: 4 kB / 0.5753 GB, free: 6.074 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001116/0.3586, allocations: 0.614 MB / 0.5759 GB, free: 5.395 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.3586, allocations: 7.938 kB / 0.5759 GB, free: 5.387 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001779/0.3588, allocations: 47.91 kB / 0.576 GB, free: 5.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001221/0.3589, allocations: 41.7 kB / 0.576 GB, free: 5.293 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.169e-05/0.3589, allocations: 11.98 kB / 0.576 GB, free: 5.281 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001986/0.3609, allocations: 2.637 MB / 0.5786 GB, free: 2.418 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3609, allocations: 0 / 0.5786 GB, free: 2.418 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008753/0.3618, allocations: 0.512 MB / 0.5791 GB, free: 1.879 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.8e-05/0.3618, allocations: 15.94 kB / 0.5791 GB, free: 1.863 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.141e-05/0.3618, allocations: 4 kB / 0.5791 GB, free: 1.859 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/0.362, allocations: 15.98 kB / 0.5791 GB, free: 1.844 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.164e-05/0.3621, allocations: 27.95 kB / 0.5792 GB, free: 1.816 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.3621, allocations: 8 kB / 0.5792 GB, free: 1.809 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.22e-05/0.3622, allocations: 105.5 kB / 0.5793 GB, free: 1.707 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3622, allocations: 0 / 0.5793 GB, free: 1.707 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004341/0.3626, allocations: 75.78 kB / 0.5794 GB, free: 1.633 MB / 414.1 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.0002173/0.3628, allocations: 135.2 kB / 0.5795 GB, free: 1.492 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007487/0.3636, allocations: 408.5 kB / 0.5799 GB, free: 1.07 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3636, allocations: 4 kB / 0.5799 GB, free: 1.066 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004043/0.364, allocations: 321.2 kB / 0.5802 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003968/0.3644, allocations: 21.44 kB / 0.5802 GB, free: 0.707 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008836/0.3653, allocations: 488.5 kB / 0.5807 GB, free: 192 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003712/0.3656, allocations: 0.7362 MB / 0.5814 GB, free: 15.43 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.743e-05/0.3657, allocations: 27.41 kB / 0.5814 GB, free: 15.4 MB / 430.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3657, allocations: 0 / 0.5814 GB, free: 15.4 MB / 430.1 MB Notification: Performance of Templates: time 0.006543/0.3722, allocations: 4.38 MB / 0.5857 GB, free: 11.02 MB / 430.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.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: 7.903541604056954]