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.001485/0.001485, 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.0009938/0.0009938, allocations: 176.1 kB / 24.91 MB, free: 8.773 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.9885/0.9885, allocations: 177.1 MB / 205.3 MB, free: 5.43 MB / 186.7 MB " [Timeout remaining time 179] 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.2798/0.2798, allocations: 32.81 MB / 294.6 MB, free: 1.16 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 323.2 MB, free: 9.684 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.901e-05/2.075e-05, allocations: 3.438 kB / 323.3 MB, free: 9.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.003034/0.003054, allocations: 2.519 MB / 325.8 MB, free: 7.145 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001338/0.004393, allocations: 1.09 MB / 326.9 MB, free: 6.047 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.379e-05/0.004476, allocations: 4 kB / 326.9 MB, free: 6.043 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007783/0.005255, allocations: 0.5171 MB / 327.4 MB, free: 5.523 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000196/0.005451, allocations: 119.1 kB / 327.5 MB, free: 5.406 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005494/0.006, allocations: 458 kB / 327.9 MB, free: 4.957 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002432/0.006243, allocations: 230.8 kB / 328.2 MB, free: 4.73 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003497/0.006593, allocations: 237.3 kB / 328.4 MB, free: 4.5 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002089/0.006802, allocations: 143.7 kB / 328.5 MB, free: 4.359 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/0.00693, allocations: 99.75 kB / 328.6 MB, free: 4.262 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.036e-05/0.00696, allocations: 28 kB / 328.7 MB, free: 4.234 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000268/0.007228, allocations: 159.7 kB / 328.8 MB, free: 4.078 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.922e-05/0.007267, allocations: 47.84 kB / 328.9 MB, free: 4.031 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.14e-05/0.007329, allocations: 71.83 kB / 328.9 MB, free: 3.961 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003409/0.00767, allocations: 310.9 kB / 329.2 MB, free: 3.656 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.007673, allocations: 3.984 kB / 329.2 MB, free: 3.652 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.007674, allocations: 0 / 329.2 MB, free: 3.652 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.007677, allocations: 0 / 329.2 MB, free: 3.652 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.0007751/0.008452, allocations: 0.5363 MB / 329.8 MB, free: 3.094 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.008487, allocations: 8.031 kB / 329.8 MB, free: 3.086 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002432/0.00873, allocations: 88.73 kB / 329.9 MB, free: 3 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.36e-05/0.008824, allocations: 141.4 kB / 330 MB, free: 2.836 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.00884, allocations: 20.88 kB / 330 MB, free: 2.816 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.875e-05/0.008869, allocations: 24.38 kB / 330.1 MB, free: 2.793 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002285/0.009098, allocations: 220 kB / 330.3 MB, free: 2.559 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.009109, allocations: 192 / 330.3 MB, free: 2.559 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.009124, allocations: 8.375 kB / 330.3 MB, free: 2.551 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-06/0.009133, allocations: 15.94 kB / 330.3 MB, free: 2.535 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.677e-05/0.00923, allocations: 74.55 kB / 330.4 MB, free: 2.469 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007579/0.009988, allocations: 0.6428 MB / 331 MB, free: 1.793 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002272/0.01021, allocations: 149.1 kB / 331.2 MB, free: 1.629 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00015/0.01036, allocations: 61.75 kB / 331.2 MB, free: 1.562 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.682e-05/0.01046, allocations: 19.98 kB / 331.2 MB, free: 1.543 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.01049, allocations: 39.44 kB / 331.3 MB, free: 1.496 MB / 298.7 MB Notification: Performance of pre-optimization done (n=19): time 1.603e-06/0.01049, allocations: 0 / 331.3 MB, free: 1.496 MB / 298.7 MB Notification: Performance of matching and sorting (n=19): time 0.0003963/0.01089, allocations: 190.5 kB / 331.5 MB, free: 1.301 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/0.01093, allocations: 81.11 kB / 331.5 MB, free: 1.203 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.797e-05/0.011, allocations: 140.9 kB / 331.7 MB, free: 1.051 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.01102, allocations: 33.7 kB / 331.7 MB, free: 1.012 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.547e-05/0.01107, allocations: 144.3 kB / 331.9 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.341e-05/0.01111, allocations: 67.42 kB / 331.9 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.209e-05/0.01116, allocations: 41.75 kB / 332 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.01126, allocations: 330.7 kB / 332.3 MB, free: 432 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.622e-05/0.01129, allocations: 15.98 kB / 332.3 MB, free: 416 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.051e-05/0.01134, allocations: 69.98 kB / 332.4 MB, free: 324 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.885e-05/0.01143, allocations: 108.4 kB / 332.5 MB, free: 196 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.01143, allocations: 3.938 kB / 332.5 MB, free: 192 kB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001607/0.01159, allocations: 151.1 kB / 332.6 MB, free: 28 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.01161, allocations: 11.94 kB / 332.6 MB, free: 16 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.01161, allocations: 0 / 332.6 MB, free: 16 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001445/0.01176, allocations: 45.86 kB / 332.7 MB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.948e-05/0.01186, allocations: 47.91 kB / 332.7 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001141/0.013, allocations: 2.349 MB / 335.1 MB, free: 13.4 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.356e-05/0.01305, allocations: 23.83 kB / 335.1 MB, free: 13.38 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.848e-06/0.01306, allocations: 12 kB / 335.1 MB, free: 13.36 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.79e-05/0.01314, allocations: 121.8 kB / 335.2 MB, free: 13.23 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.256e-05/0.01317, allocations: 12 kB / 335.2 MB, free: 13.22 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001709/0.01334, allocations: 143.9 kB / 335.4 MB, free: 13.07 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.01334, allocations: 0 / 335.4 MB, free: 13.07 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.01335, allocations: 4 kB / 335.4 MB, free: 13.06 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.01335, allocations: 7.984 kB / 335.4 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003819/0.01373, allocations: 372.7 kB / 335.8 MB, free: 12.65 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.01374, allocations: 0 / 335.8 MB, free: 12.65 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.114e-05/0.01381, allocations: 31.92 kB / 335.8 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.096e-05/0.01389, allocations: 45.72 kB / 335.8 MB, free: 12.57 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.415e-06/0.0139, allocations: 3.938 kB / 335.8 MB, free: 12.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009984/0.01489, allocations: 2.361 MB / 338.2 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.0149, allocations: 0 / 338.2 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002269/0.01512, allocations: 345.2 kB / 338.5 MB, free: 9.672 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.202e-05/0.01513, allocations: 19.78 kB / 338.6 MB, free: 9.652 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.01515, allocations: 8 kB / 338.6 MB, free: 9.645 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.583e-05/0.01522, allocations: 16.08 kB / 338.6 MB, free: 9.629 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.939e-05/0.01527, allocations: 23.91 kB / 338.6 MB, free: 9.605 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.01528, allocations: 4 kB / 338.6 MB, free: 9.602 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.956e-05/0.0153, allocations: 20.83 kB / 338.6 MB, free: 9.578 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0153, allocations: 0 / 338.6 MB, free: 9.578 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002491/0.01555, allocations: 71.83 kB / 338.7 MB, free: 9.508 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.0001657/0.01571, allocations: 112.3 kB / 338.8 MB, free: 9.391 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002749/0.01599, allocations: 321.9 kB / 339.1 MB, free: 9.047 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.016, allocations: 4 kB / 339.1 MB, free: 9.043 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001434/0.01614, allocations: 282.5 kB / 339.4 MB, free: 8.738 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002038/0.01634, allocations: 27.83 kB / 339.4 MB, free: 8.711 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006841/0.01703, allocations: 432.7 kB / 339.9 MB, free: 8.25 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.257e-05/0.01708, allocations: 80.22 kB / 339.9 MB, free: 8.152 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.62e-05/0.01713, allocations: 13.14 kB / 339.9 MB, free: 8.137 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.76e-05/0.01718, allocations: 63.38 kB / 340 MB, free: 8.074 MB / 314.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01718, allocations: 0 / 340 MB, free: 8.074 MB / 314.7 MB Notification: Performance of Templates: time 0.004358/0.02154, allocations: 2.526 MB / 342.5 MB, free: 5.594 MB / 314.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 240] 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","",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.911182510200888]