Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.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.001266/0.001266, 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.001097/0.001097, allocations: 170.3 kB / 24.91 MB, free: 8.766 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 0.947/0.947, allocations: 177.1 MB / 205.3 MB, free: 5.461 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.2455/0.2455, allocations: 34.27 MB / 296.1 MB, free: 0.6484 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.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 325.2 MB, free: 7.688 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.31e-05/1.448e-05, allocations: 2.312 kB / 325.2 MB, free: 7.684 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.002011/0.002026, allocations: 1.764 MB / 327 MB, free: 5.906 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001551/0.002181, allocations: 91.64 kB / 327.1 MB, free: 5.816 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.139e-05/0.002222, allocations: 4 kB / 327.1 MB, free: 5.812 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.191e-05/0.002264, allocations: 11.86 kB / 327.1 MB, free: 5.801 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.91e-05/0.002323, allocations: 27.67 kB / 327.1 MB, free: 5.773 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.201e-05/0.002415, allocations: 31.95 kB / 327.1 MB, free: 5.742 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.662e-05/0.002512, allocations: 107.6 kB / 327.2 MB, free: 5.637 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.002626, allocations: 47.95 kB / 327.3 MB, free: 5.59 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.368e-05/0.002699, allocations: 59.89 kB / 327.4 MB, free: 5.531 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.852e-05/0.002758, allocations: 39.88 kB / 327.4 MB, free: 5.492 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.329e-05/0.002781, allocations: 12 kB / 327.4 MB, free: 5.48 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.398e-06/0.002791, allocations: 8 kB / 327.4 MB, free: 5.473 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.284e-05/0.002813, allocations: 23.92 kB / 327.4 MB, free: 5.449 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.246e-05/0.002846, allocations: 40.53 kB / 327.5 MB, free: 5.41 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00011/0.002956, allocations: 79.72 kB / 327.6 MB, free: 5.332 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.003e-06/0.002958, allocations: 0 / 327.6 MB, free: 5.332 MB / 298.7 MB Notification: Performance of FrontEnd: time 5e-07/0.002958, allocations: 0 / 327.6 MB, free: 5.332 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.978e-06/0.002962, allocations: 0 / 327.6 MB, free: 5.332 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0003274/0.00329, allocations: 314 kB / 327.9 MB, free: 5 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.00333, allocations: 8.031 kB / 327.9 MB, free: 4.992 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.215e-05/0.003362, allocations: 12.92 kB / 327.9 MB, free: 4.98 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.385e-05/0.003436, allocations: 125.6 kB / 328 MB, free: 4.832 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.003447, allocations: 8.375 kB / 328 MB, free: 4.824 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.329e-05/0.00346, allocations: 8.375 kB / 328 MB, free: 4.816 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.00359, allocations: 98.89 kB / 328.1 MB, free: 4.711 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.003597, allocations: 192 / 328.1 MB, free: 4.711 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.003605, allocations: 8.375 kB / 328.1 MB, free: 4.703 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.003611, allocations: 8.359 kB / 328.1 MB, free: 4.695 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.535e-05/0.003647, allocations: 27.86 kB / 328.2 MB, free: 4.668 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003802/0.004027, allocations: 303 kB / 328.5 MB, free: 4.352 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.655e-05/0.004103, allocations: 38.56 kB / 328.5 MB, free: 4.301 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.916e-05/0.004162, allocations: 32.95 kB / 328.5 MB, free: 4.266 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.464e-06/0.00417, allocations: 0 / 328.5 MB, free: 4.266 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.813e-05/0.004188, allocations: 34.56 kB / 328.6 MB, free: 4.223 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.004189, allocations: 0 / 328.6 MB, free: 4.223 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002402/0.004429, allocations: 90.39 kB / 328.6 MB, free: 4.125 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.085e-05/0.00446, allocations: 59.39 kB / 328.7 MB, free: 4.055 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.99e-05/0.00452, allocations: 114.6 kB / 328.8 MB, free: 3.93 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.759e-06/0.00453, allocations: 29.7 kB / 328.8 MB, free: 3.895 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.062e-05/0.004571, allocations: 111.9 kB / 329 MB, free: 3.781 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.237e-05/0.004583, allocations: 27.73 kB / 329 MB, free: 3.754 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.537e-05/0.004608, allocations: 17.72 kB / 329 MB, free: 3.73 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.751e-05/0.004676, allocations: 318.8 kB / 329.3 MB, free: 3.41 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.236e-05/0.004688, allocations: 4 kB / 329.3 MB, free: 3.406 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.353e-05/0.004712, allocations: 30.55 kB / 329.3 MB, free: 3.367 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.081e-05/0.004752, allocations: 38.56 kB / 329.4 MB, free: 3.32 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.004754, allocations: 0 / 329.4 MB, free: 3.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.625e-05/0.004841, allocations: 78.34 kB / 329.5 MB, free: 3.234 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.004851, allocations: 6.344 kB / 329.5 MB, free: 3.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.004856, allocations: 8.062 kB / 329.5 MB, free: 3.223 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001028/0.004959, allocations: 16.84 kB / 329.5 MB, free: 3.203 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.023e-05/0.005009, allocations: 12 kB / 329.5 MB, free: 3.191 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005618/0.005571, allocations: 1.183 MB / 330.7 MB, free: 1.922 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.996e-05/0.005601, allocations: 11.94 kB / 330.7 MB, free: 1.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-06/0.005606, allocations: 4 kB / 330.7 MB, free: 1.906 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 5.794e-05/0.005664, allocations: 117.8 kB / 330.8 MB, free: 1.781 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.498e-05/0.005679, allocations: 7.984 kB / 330.8 MB, free: 1.773 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.224e-05/0.005691, allocations: 12.44 kB / 330.8 MB, free: 1.758 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.51e-07/0.005692, allocations: 0 / 330.8 MB, free: 1.758 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.005693, allocations: 0 / 330.8 MB, free: 1.758 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.005696, allocations: 0 / 330.8 MB, free: 1.758 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001993/0.005895, allocations: 244.4 kB / 331.1 MB, free: 1.488 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.005897, allocations: 0 / 331.1 MB, free: 1.488 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.502e-05/0.005922, allocations: 11.98 kB / 331.1 MB, free: 1.477 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.159e-05/0.005974, allocations: 24.88 kB / 331.1 MB, free: 1.449 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.699e-06/0.005978, allocations: 0 / 331.1 MB, free: 1.449 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004386/0.006417, allocations: 1.179 MB / 332.3 MB, free: 184 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.006418, allocations: 0 / 332.3 MB, free: 184 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001063/0.006524, allocations: 173.2 kB / 332.5 MB, free: 15.99 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.322e-06/0.006531, allocations: 11.89 kB / 332.5 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.011e-06/0.006537, allocations: 4 kB / 332.5 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.11e-05/0.006578, allocations: 16.02 kB / 332.5 MB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.973e-05/0.006607, allocations: 7.922 kB / 332.5 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.006612, allocations: 8 kB / 332.5 MB, free: 15.94 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.248e-05/0.006624, allocations: 16.83 kB / 332.5 MB, free: 15.92 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006624, allocations: 4 kB / 332.5 MB, free: 15.92 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001329/0.006757, allocations: 16 kB / 332.5 MB, free: 15.9 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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 6.693e-05/0.006824, allocations: 80.36 kB / 332.6 MB, free: 15.82 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001575/0.006982, allocations: 143.5 kB / 332.8 MB, free: 15.66 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.006984, allocations: 4 kB / 332.8 MB, free: 15.66 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.031e-05/0.007045, allocations: 139.4 kB / 332.9 MB, free: 15.5 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001304/0.007175, allocations: 15.34 kB / 332.9 MB, free: 15.49 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002609/0.007436, allocations: 209.2 kB / 333.1 MB, free: 15.26 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.988e-05/0.007466, allocations: 63.34 kB / 333.2 MB, free: 15.18 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 1.916e-05/0.007485, allocations: 8.062 kB / 333.2 MB, free: 15.17 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.387e-05/0.007529, allocations: 55.36 kB / 333.2 MB, free: 15.12 MB / 314.7 MB Notification: Performance of SimCode: time 4.5e-07/0.007529, allocations: 0 / 333.2 MB, free: 15.12 MB / 314.7 MB Notification: Performance of Templates: time 0.002573/0.0101, allocations: 1.154 MB / 334.4 MB, free: 13.98 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/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.951147022191435]