Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.002051/0.002051, allocations: 111.1 kB / 20.44 MB, free: 1.332 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.002433/0.002433, allocations: 210.5 kB / 23.73 MB, free: 4.512 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.594/1.594, allocations: 230.6 MB / 257.5 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] 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.2317/0.2317, allocations: 44.94 MB / 358.8 MB, free: 6.047 MB / 286.1 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.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.0.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.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002359/0.002359, allocations: 71.89 kB / 0.4935 GB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4429/0.4453, allocations: 65.46 MB / 0.5574 GB, free: 7.469 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.004814/0.4501, allocations: 2.353 MB / 0.5597 GB, free: 5.102 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002144/0.4522, allocations: 1.02 MB / 0.5607 GB, free: 4.074 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001047/0.4523, allocations: 11.94 kB / 0.5608 GB, free: 4.062 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001384/0.4537, allocations: 474 kB / 0.5612 GB, free: 3.598 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000306/0.454, allocations: 111.2 kB / 0.5613 GB, free: 3.488 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001126/0.4551, allocations: 454 kB / 0.5617 GB, free: 3.047 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003728/0.4555, allocations: 227 kB / 0.562 GB, free: 2.824 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005829/0.4561, allocations: 222.1 kB / 0.5622 GB, free: 2.609 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002819/0.4564, allocations: 103.7 kB / 0.5623 GB, free: 2.508 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002057/0.4566, allocations: 111.5 kB / 0.5624 GB, free: 2.398 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.605e-05/0.4566, allocations: 23.94 kB / 0.5624 GB, free: 2.375 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003941/0.457, allocations: 143.9 kB / 0.5625 GB, free: 2.234 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.611e-05/0.4571, allocations: 51.83 kB / 0.5626 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001215/0.4572, allocations: 91.59 kB / 0.5627 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007883/0.458, allocations: 405.2 kB / 0.5631 GB, free: 1.699 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.787e-06/0.458, allocations: 0 / 0.5631 GB, free: 1.699 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.458, allocations: 0 / 0.5631 GB, free: 1.699 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.478e-06/0.458, allocations: 0 / 0.5631 GB, free: 1.699 MB / 398.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.001628/0.4596, allocations: 0.5538 MB / 0.5636 GB, free: 1.117 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.4597, allocations: 8.031 kB / 0.5636 GB, free: 1.109 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003357/0.46, allocations: 52.77 kB / 0.5637 GB, free: 1.059 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001957/0.4602, allocations: 130.2 kB / 0.5638 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.589e-05/0.4603, allocations: 24.81 kB / 0.5638 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.911e-05/0.4603, allocations: 24.38 kB / 0.5638 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006587/0.461, allocations: 294.9 kB / 0.5641 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/0.461, allocations: 0 / 0.5641 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.928e-05/0.461, allocations: 12 kB / 0.5641 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.377e-05/0.461, allocations: 7.938 kB / 0.5641 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005888/0.4616, allocations: 237.5 kB / 0.5644 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001739/0.4634, allocations: 0.8175 MB / 0.5652 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005104/0.4639, allocations: 199.8 kB / 0.5653 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003617/0.4642, allocations: 129.6 kB / 0.5655 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001259/0.4644, allocations: 23.98 kB / 0.5655 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.4644, allocations: 34.56 kB / 0.5655 GB, free: 15.03 MB / 414.1 MB Notification: Performance of pre-optimization done (n=19): time 1.262e-06/0.4644, allocations: 0 / 0.5655 GB, free: 15.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001206/0.4656, allocations: 355.2 kB / 0.5659 GB, free: 14.67 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.821e-05/0.4657, allocations: 81.05 kB / 0.5659 GB, free: 14.57 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/0.4658, allocations: 129.8 kB / 0.5661 GB, free: 14.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/0.4658, allocations: 29.7 kB / 0.5661 GB, free: 14.4 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001276/0.466, allocations: 148.2 kB / 0.5662 GB, free: 14.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.565e-05/0.466, allocations: 67.42 kB / 0.5663 GB, free: 14.18 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.7e-05/0.4661, allocations: 37.7 kB / 0.5663 GB, free: 14.14 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.4663, allocations: 326.8 kB / 0.5666 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002115/0.4665, allocations: 72.06 kB / 0.5667 GB, free: 13.74 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002568/0.4668, allocations: 123.6 kB / 0.5668 GB, free: 13.6 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005103/0.4673, allocations: 204.8 kB / 0.567 GB, free: 13.38 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.4673, allocations: 0 / 0.567 GB, free: 13.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006801/0.468, allocations: 279 kB / 0.5673 GB, free: 13.1 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.731e-05/0.468, allocations: 11.94 kB / 0.5673 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.468, allocations: 0 / 0.5673 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002743/0.4683, allocations: 53.69 kB / 0.5674 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002017/0.4685, allocations: 43.91 kB / 0.5674 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002882/0.4714, allocations: 2.588 MB / 0.5699 GB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001612/0.4715, allocations: 23.91 kB / 0.5699 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.052e-05/0.4715, allocations: 11.98 kB / 0.57 GB, free: 10.15 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.0002004/0.4717, allocations: 137.8 kB / 0.5701 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.217e-05/0.4718, allocations: 19.84 kB / 0.5701 GB, free: 9.988 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007122/0.4725, allocations: 258.1 kB / 0.5704 GB, free: 9.727 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.4725, allocations: 3.938 kB / 0.5704 GB, free: 9.723 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.4725, allocations: 4 kB / 0.5704 GB, free: 9.719 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.4725, allocations: 3.938 kB / 0.5704 GB, free: 9.715 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001313/0.4738, allocations: 0.5522 MB / 0.5709 GB, free: 9.109 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.4739, allocations: 0 / 0.5709 GB, free: 9.109 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001699/0.474, allocations: 31.97 kB / 0.5709 GB, free: 9.078 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001677/0.4742, allocations: 53.77 kB / 0.571 GB, free: 9.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.353e-05/0.4742, allocations: 7.938 kB / 0.571 GB, free: 9.012 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002563/0.4768, allocations: 2.591 MB / 0.5735 GB, free: 6.219 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4768, allocations: 0 / 0.5735 GB, free: 6.219 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001023/0.4778, allocations: 0.5141 MB / 0.574 GB, free: 5.676 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.357e-05/0.4778, allocations: 19.91 kB / 0.574 GB, free: 5.656 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.011e-05/0.4779, allocations: 4 kB / 0.5741 GB, free: 5.652 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001785/0.478, allocations: 15.98 kB / 0.5741 GB, free: 5.637 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.551e-05/0.4781, allocations: 23.91 kB / 0.5741 GB, free: 5.613 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/0.4781, allocations: 4 kB / 0.5741 GB, free: 5.609 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.053e-05/0.4782, allocations: 95.27 kB / 0.5742 GB, free: 5.516 MB / 414.1 MB Notification: Performance of sort global known variables: time 5e-08/0.4782, allocations: 0 / 0.5742 GB, free: 5.516 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005012/0.4787, allocations: 79.77 kB / 0.5743 GB, free: 5.438 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.0003083/0.479, allocations: 127.2 kB / 0.5744 GB, free: 5.305 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008202/0.4798, allocations: 422.8 kB / 0.5748 GB, free: 4.871 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.4799, allocations: 0 / 0.5748 GB, free: 4.871 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004348/0.4803, allocations: 317.2 kB / 0.5751 GB, free: 4.535 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004317/0.4807, allocations: 20.48 kB / 0.5751 GB, free: 4.516 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.4818, allocations: 478.3 kB / 0.5756 GB, free: 4.016 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001505/0.4819, allocations: 129.2 kB / 0.5757 GB, free: 3.871 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.429e-05/0.482, allocations: 13.09 kB / 0.5757 GB, free: 3.859 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.457e-05/0.4821, allocations: 19.42 kB / 0.5757 GB, free: 3.84 MB / 414.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4821, allocations: 0 / 0.5757 GB, free: 3.84 MB / 414.1 MB Notification: Performance of Templates: time 0.007495/0.4896, allocations: 2.555 MB / 0.5782 GB, free: 1.301 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 5.757543820887804]