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.001269/0.001269, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001903/0.003172, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001148/0.001148, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001352/0.0025, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.144/1.144, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09342/1.238, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.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.2962/0.2962, allocations: 34.26 MB / 278.2 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.028/0.3242, allocations: 13.1 MB / 291.3 MB, free: 7.355 MB / 282.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.422e-06/1.422e-06, allocations: 0 / 292.6 MB, free: 6.316 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.953e-05/2.095e-05, allocations: 2.312 kB / 292.6 MB, free: 6.312 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.002998/0.003019, allocations: 2.531 MB / 295.1 MB, free: 3.77 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001198/0.004217, allocations: 1.098 MB / 296.2 MB, free: 2.664 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.248e-05/0.004289, allocations: 4 kB / 296.2 MB, free: 2.66 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006699/0.004959, allocations: 0.5132 MB / 296.8 MB, free: 2.145 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001662/0.005125, allocations: 111.1 kB / 296.9 MB, free: 2.035 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006967/0.005822, allocations: 462 kB / 297.3 MB, free: 1.582 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002372/0.006059, allocations: 238.9 kB / 297.5 MB, free: 1.348 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003266/0.006386, allocations: 229.9 kB / 297.8 MB, free: 1.125 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002556/0.006641, allocations: 159.6 kB / 297.9 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001411/0.006783, allocations: 95.77 kB / 298 MB, free: 0.875 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.628e-05/0.006829, allocations: 24 kB / 298 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002828/0.007112, allocations: 147.7 kB / 298.2 MB, free: 0.707 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.092e-05/0.007143, allocations: 39.88 kB / 298.2 MB, free: 0.668 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.207e-05/0.007205, allocations: 63.88 kB / 298.3 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003814/0.007586, allocations: 283 kB / 298.6 MB, free: 336 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.571e-05/0.007602, allocations: 0 / 298.6 MB, free: 336 kB / 282.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.007603, allocations: 4 kB / 298.6 MB, free: 332 kB / 282.7 MB Notification: Performance of Transformations before backend: time 1.408e-05/0.007617, allocations: 0 / 298.6 MB, free: 332 kB / 282.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.0009096/0.008527, allocations: 0.6582 MB / 299.2 MB, free: 15.62 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.008559, allocations: 8.031 kB / 299.2 MB, free: 15.62 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002396/0.008798, allocations: 88.73 kB / 299.3 MB, free: 15.53 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001/0.008898, allocations: 134.3 kB / 299.5 MB, free: 15.38 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.008916, allocations: 20.88 kB / 299.5 MB, free: 15.36 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.349e-05/0.008949, allocations: 24.38 kB / 299.5 MB, free: 15.33 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002409/0.00919, allocations: 223.9 kB / 299.7 MB, free: 15.09 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.009201, allocations: 4.188 kB / 299.7 MB, free: 15.09 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.009215, allocations: 8.375 kB / 299.7 MB, free: 15.08 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.859e-06/0.009225, allocations: 11.94 kB / 299.7 MB, free: 15.07 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.775e-05/0.009323, allocations: 67.39 kB / 299.8 MB, free: 15 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007957/0.01012, allocations: 0.6584 MB / 300.5 MB, free: 14.31 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001854/0.0103, allocations: 154.5 kB / 300.6 MB, free: 14.14 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.485e-05/0.0104, allocations: 77.66 kB / 300.7 MB, free: 14.06 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.294e-05/0.01049, allocations: 19.92 kB / 300.7 MB, free: 14.04 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.01052, allocations: 35.5 kB / 300.7 MB, free: 14 MB / 298.7 MB Notification: Performance of pre-optimization done (n=19): time 2.705e-06/0.01052, allocations: 0 / 300.7 MB, free: 14 MB / 298.7 MB Notification: Performance of matching and sorting (n=19): time 0.0003973/0.01092, allocations: 187.4 kB / 300.9 MB, free: 13.8 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/0.01095, allocations: 81.11 kB / 301 MB, free: 13.71 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.095e-05/0.01103, allocations: 138.5 kB / 301.1 MB, free: 13.56 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.01105, allocations: 29.7 kB / 301.2 MB, free: 13.52 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.858e-05/0.01111, allocations: 144.3 kB / 301.3 MB, free: 13.38 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.619e-05/0.01115, allocations: 67.42 kB / 301.4 MB, free: 13.31 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.296e-05/0.0112, allocations: 37.69 kB / 301.4 MB, free: 13.27 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.681e-05/0.0113, allocations: 326.8 kB / 301.7 MB, free: 12.94 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.215e-05/0.01133, allocations: 20 kB / 301.8 MB, free: 12.92 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.207e-05/0.01139, allocations: 74.08 kB / 301.8 MB, free: 12.83 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/0.01151, allocations: 115.6 kB / 301.9 MB, free: 12.7 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.01151, allocations: 0 / 301.9 MB, free: 12.7 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001822/0.01169, allocations: 146.2 kB / 302.1 MB, free: 12.54 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.01171, allocations: 11.94 kB / 302.1 MB, free: 12.53 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.01172, allocations: 112 / 302.1 MB, free: 12.53 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001302/0.01185, allocations: 45.62 kB / 302.1 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.01196, allocations: 39.92 kB / 302.2 MB, free: 12.44 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001473/0.01343, allocations: 2.369 MB / 304.5 MB, free: 9.902 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.179e-05/0.0135, allocations: 15.95 kB / 304.6 MB, free: 9.887 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.01351, allocations: 11.92 kB / 304.6 MB, free: 9.875 MB / 298.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.697e-05/0.01361, allocations: 125.8 kB / 304.7 MB, free: 9.742 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.017e-05/0.01364, allocations: 11.98 kB / 304.7 MB, free: 9.73 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001925/0.01383, allocations: 146.4 kB / 304.8 MB, free: 9.574 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.01383, allocations: 0 / 304.8 MB, free: 9.574 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.01384, allocations: 4 kB / 304.9 MB, free: 9.57 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.01384, allocations: 0 / 304.9 MB, free: 9.57 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000458/0.0143, allocations: 370 kB / 305.2 MB, free: 9.168 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/0.01431, allocations: 4 kB / 305.2 MB, free: 9.164 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.1e-05/0.01439, allocations: 35.92 kB / 305.3 MB, free: 9.129 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.513e-05/0.0144, allocations: 23.88 kB / 305.3 MB, free: 9.105 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.698e-05/0.01449, allocations: 37.69 kB / 305.3 MB, free: 9.062 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.0145, allocations: 8 kB / 305.3 MB, free: 9.055 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001032/0.01553, allocations: 2.35 MB / 307.7 MB, free: 6.535 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.01554, allocations: 3.984 kB / 307.7 MB, free: 6.531 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002599/0.0158, allocations: 346.5 kB / 308 MB, free: 6.164 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.227e-05/0.01581, allocations: 8 kB / 308 MB, free: 6.156 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.562e-05/0.01588, allocations: 7.984 kB / 308 MB, free: 6.148 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.256e-05/0.01594, allocations: 23.91 kB / 308.1 MB, free: 6.125 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.333e-06/0.01594, allocations: 8 kB / 308.1 MB, free: 6.117 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.103e-05/0.01596, allocations: 22.83 kB / 308.1 MB, free: 6.094 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01596, allocations: 4 kB / 308.1 MB, free: 6.09 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003317/0.0163, allocations: 75.78 kB / 308.2 MB, free: 6.016 MB / 298.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.0002099/0.01651, allocations: 104.4 kB / 308.3 MB, free: 5.906 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003158/0.01682, allocations: 331.1 kB / 308.6 MB, free: 5.555 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.748e-06/0.01683, allocations: 4 kB / 308.6 MB, free: 5.551 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001534/0.01698, allocations: 274 kB / 308.9 MB, free: 5.254 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002389/0.01722, allocations: 46 kB / 308.9 MB, free: 5.215 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002104/0.01933, allocations: 447.9 kB / 309.3 MB, free: 4.738 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.86e-05/0.01939, allocations: 76.22 kB / 309.4 MB, free: 4.645 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.258e-05/0.01944, allocations: 17.14 kB / 309.4 MB, free: 4.625 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.223e-05/0.0195, allocations: 63.38 kB / 309.5 MB, free: 4.562 MB / 298.7 MB Notification: Performance of SimCode: time 7.52e-07/0.0195, allocations: 0 / 309.5 MB, free: 4.562 MB / 298.7 MB Notification: Performance of Templates: time 0.005052/0.02455, allocations: 2.555 MB / 312 MB, free: 2.059 MB / 298.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 -emit_protected -ignoreHideResult -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: 3.066103393211961]