Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001328/0.001328, allocations: 84.86 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001167/0.001167, allocations: 164.2 kB / 24.91 MB, free: 8.766 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.095/1.095, allocations: 177 MB / 205.2 MB, free: 5.074 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2729/0.2729, allocations: 34.85 MB / 296.6 MB, free: 480 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 325.9 MB, free: 7.156 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.796e-05/3.015e-05, allocations: 5.953 kB / 325.9 MB, free: 7.152 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.005718/0.005748, allocations: 2.523 MB / 328.5 MB, free: 4.613 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001961/0.007709, allocations: 1.083 MB / 329.5 MB, free: 3.523 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001291/0.007838, allocations: 4 kB / 329.6 MB, free: 3.52 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001048/0.008886, allocations: 0.521 MB / 330.1 MB, free: 2.996 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002578/0.009143, allocations: 115.1 kB / 330.2 MB, free: 2.883 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006108/0.009754, allocations: 458 kB / 330.6 MB, free: 2.434 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002562/0.01001, allocations: 234.8 kB / 330.9 MB, free: 2.203 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003269/0.01034, allocations: 234.7 kB / 331.1 MB, free: 1.977 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002033/0.01054, allocations: 147.7 kB / 331.2 MB, free: 1.832 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001163/0.01066, allocations: 95.77 kB / 331.3 MB, free: 1.738 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.668e-05/0.01068, allocations: 20 kB / 331.3 MB, free: 1.719 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002594/0.01094, allocations: 155.7 kB / 331.5 MB, free: 1.566 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.265e-05/0.01098, allocations: 55.81 kB / 331.6 MB, free: 1.512 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.597e-05/0.01103, allocations: 79.83 kB / 331.6 MB, free: 1.434 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000348/0.01138, allocations: 307 kB / 331.9 MB, free: 1.133 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.01138, allocations: 0 / 331.9 MB, free: 1.133 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.01139, allocations: 0 / 331.9 MB, free: 1.133 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.01139, allocations: 0 / 331.9 MB, free: 1.133 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.0007828/0.01217, allocations: 0.5404 MB / 332.5 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.01221, allocations: 15.97 kB / 332.5 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002636/0.01247, allocations: 84.81 kB / 332.6 MB, free: 480 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.952e-05/0.01257, allocations: 141.4 kB / 332.7 MB, free: 312 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.01259, allocations: 20.88 kB / 332.7 MB, free: 292 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.331e-05/0.01262, allocations: 28.36 kB / 332.8 MB, free: 264 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002355/0.01286, allocations: 212 kB / 333 MB, free: 32 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.01287, allocations: 192 / 333 MB, free: 32 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.01289, allocations: 12.38 kB / 333 MB, free: 20 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.0129, allocations: 11.88 kB / 333 MB, free: 8 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001055/0.013, allocations: 68.66 kB / 333.1 MB, free: 15.95 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007806/0.01378, allocations: 0.6467 MB / 333.7 MB, free: 15.27 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001733/0.01396, allocations: 145.2 kB / 333.8 MB, free: 15.11 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.883e-05/0.01406, allocations: 72.91 kB / 333.9 MB, free: 15.03 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.192e-05/0.01414, allocations: 19.98 kB / 333.9 MB, free: 15.01 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.01416, allocations: 34.56 kB / 334 MB, free: 14.97 MB / 314.7 MB Notification: Performance of pre-optimization done (n=19): time 2.985e-06/0.01417, allocations: 3.984 kB / 334 MB, free: 14.96 MB / 314.7 MB Notification: Performance of matching and sorting (n=19): time 0.0003735/0.01454, allocations: 197.7 kB / 334.2 MB, free: 14.76 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.33e-05/0.01457, allocations: 81.11 kB / 334.2 MB, free: 14.66 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.481e-05/0.01465, allocations: 131.4 kB / 334.4 MB, free: 14.52 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.01466, allocations: 29.7 kB / 334.4 MB, free: 14.49 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.097e-05/0.01472, allocations: 144.3 kB / 334.5 MB, free: 14.34 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.613e-05/0.01476, allocations: 63.53 kB / 334.6 MB, free: 14.28 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.68e-05/0.01481, allocations: 53.7 kB / 334.7 MB, free: 14.22 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.69e-05/0.01489, allocations: 326.7 kB / 335 MB, free: 13.89 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.769e-05/0.01492, allocations: 19.98 kB / 335 MB, free: 13.88 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.583e-05/0.01498, allocations: 69.98 kB / 335.1 MB, free: 13.79 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.427e-05/0.01507, allocations: 101.8 kB / 335.2 MB, free: 13.66 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.01507, allocations: 0 / 335.2 MB, free: 13.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001864/0.01526, allocations: 157.5 kB / 335.3 MB, free: 13.5 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.01528, allocations: 7.938 kB / 335.3 MB, free: 13.49 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.01528, allocations: 4 kB / 335.3 MB, free: 13.49 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001429/0.01543, allocations: 37.69 kB / 335.4 MB, free: 13.45 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.01553, allocations: 39.92 kB / 335.4 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001244/0.01677, allocations: 2.365 MB / 337.8 MB, free: 10.87 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.122e-05/0.01684, allocations: 19.89 kB / 337.8 MB, free: 10.85 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.01685, allocations: 11.94 kB / 337.8 MB, free: 10.84 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 7.955e-05/0.01693, allocations: 117.9 kB / 337.9 MB, free: 10.71 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.58e-05/0.01696, allocations: 19.98 kB / 337.9 MB, free: 10.7 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000193/0.01715, allocations: 132.6 kB / 338.1 MB, free: 10.55 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.01716, allocations: 7.938 kB / 338.1 MB, free: 10.54 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.01716, allocations: 144 / 338.1 MB, free: 10.54 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.01717, allocations: 7.984 kB / 338.1 MB, free: 10.54 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004908/0.01766, allocations: 374 kB / 338.4 MB, free: 10.13 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.01766, allocations: 8.031 kB / 338.5 MB, free: 10.12 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.648e-05/0.01774, allocations: 23.98 kB / 338.5 MB, free: 10.1 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.7e-05/0.01782, allocations: 41.69 kB / 338.5 MB, free: 10.05 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.01784, allocations: 7.938 kB / 338.5 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001126/0.01896, allocations: 2.357 MB / 340.9 MB, free: 7.516 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01896, allocations: 0 / 340.9 MB, free: 7.516 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002475/0.01921, allocations: 346.4 kB / 341.2 MB, free: 7.148 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.046e-05/0.01923, allocations: 23.78 kB / 341.2 MB, free: 7.125 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.246e-05/0.01924, allocations: 4 kB / 341.2 MB, free: 7.121 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.036e-05/0.01932, allocations: 12 kB / 341.3 MB, free: 7.109 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.477e-05/0.01937, allocations: 19.95 kB / 341.3 MB, free: 7.09 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/0.01938, allocations: 4 kB / 341.3 MB, free: 7.086 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.107e-05/0.0194, allocations: 22.72 kB / 341.3 MB, free: 7.062 MB / 314.7 MB Notification: Performance of sort global known variables: time 2e-08/0.0194, allocations: 4.062 kB / 341.3 MB, free: 7.059 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002855/0.01968, allocations: 71.83 kB / 341.4 MB, free: 6.988 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.0001791/0.01986, allocations: 120.2 kB / 341.5 MB, free: 6.863 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002926/0.02015, allocations: 317.9 kB / 341.8 MB, free: 6.523 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.02016, allocations: 4 kB / 341.8 MB, free: 6.52 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001363/0.02029, allocations: 282.2 kB / 342.1 MB, free: 6.219 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002217/0.02052, allocations: 23.86 kB / 342.1 MB, free: 6.195 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007166/0.02123, allocations: 439.9 kB / 342.5 MB, free: 5.73 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.969e-05/0.02128, allocations: 84.2 kB / 342.6 MB, free: 5.629 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.58e-05/0.02133, allocations: 9.156 kB / 342.6 MB, free: 5.617 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.899e-05/0.02139, allocations: 67.36 kB / 342.7 MB, free: 5.551 MB / 314.7 MB Notification: Performance of SimCode: time 8.12e-07/0.02139, allocations: 0 / 342.7 MB, free: 5.551 MB / 314.7 MB Notification: Performance of Templates: time 0.004988/0.02638, allocations: 2.528 MB / 345.2 MB, free: 3.086 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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: 3.0776732400991023]