Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.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.001279/0.001279, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001743/0.003021, allocations: 449.8 kB / 10.44 MB, free: 252 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.001159/0.001159, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001574/0.002733, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.038/1.038, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1213/1.159, allocations: 53.65 MB / 243.4 MB, free: 15.5 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.2822/0.2822, allocations: 34.26 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02898/0.3111, allocations: 13.1 MB / 291.5 MB, free: 7.332 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.FluxTubes.Sensors,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors") translateModel(ModelicaTest.Magnetic.FluxTubes.Sensors,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 3.938 kB / 292.8 MB, free: 6.238 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.423e-05/1.555e-05, allocations: 4.406 kB / 292.8 MB, free: 6.234 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.00263/0.002646, allocations: 2.033 MB / 294.8 MB, free: 4.191 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001005/0.003651, allocations: 0.5887 MB / 295.4 MB, free: 3.598 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.425e-05/0.003725, allocations: 4 kB / 295.4 MB, free: 3.594 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001213/0.003846, allocations: 43.66 kB / 295.5 MB, free: 3.551 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.195e-05/0.003918, allocations: 31.77 kB / 295.5 MB, free: 3.52 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000124/0.004042, allocations: 43.88 kB / 295.6 MB, free: 3.477 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001615/0.004204, allocations: 155.4 kB / 295.7 MB, free: 3.324 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.004325, allocations: 50.36 kB / 295.8 MB, free: 3.273 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001364/0.004461, allocations: 96.41 kB / 295.9 MB, free: 3.18 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.393e-05/0.004545, allocations: 43.88 kB / 295.9 MB, free: 3.137 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.248e-05/0.004578, allocations: 16 kB / 295.9 MB, free: 3.121 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.13e-05/0.004599, allocations: 16 kB / 295.9 MB, free: 3.105 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.847e-05/0.004627, allocations: 23.88 kB / 295.9 MB, free: 3.082 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.42e-05/0.004671, allocations: 39.94 kB / 296 MB, free: 3.043 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000147/0.004819, allocations: 87.62 kB / 296.1 MB, free: 2.957 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.347e-05/0.004832, allocations: 7.984 kB / 296.1 MB, free: 2.949 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.004833, allocations: 0 / 296.1 MB, free: 2.949 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.004843, allocations: 0 / 296.1 MB, free: 2.949 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0004911/0.005334, allocations: 369.5 kB / 296.4 MB, free: 2.562 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.005369, allocations: 8.031 kB / 296.4 MB, free: 2.555 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.751e-05/0.005417, allocations: 24.92 kB / 296.5 MB, free: 2.531 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001592/0.005576, allocations: 133.5 kB / 296.6 MB, free: 2.375 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.00559, allocations: 8.656 kB / 296.6 MB, free: 2.367 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.957e-05/0.00561, allocations: 16.38 kB / 296.6 MB, free: 2.352 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001698/0.005779, allocations: 117.1 kB / 296.7 MB, free: 2.23 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.005788, allocations: 192 / 296.7 MB, free: 2.23 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.005799, allocations: 4.375 kB / 296.7 MB, free: 2.227 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/0.005808, allocations: 7.938 kB / 296.8 MB, free: 2.219 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.803e-05/0.005866, allocations: 28.83 kB / 296.8 MB, free: 2.191 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005716/0.006437, allocations: 463 kB / 297.2 MB, free: 1.699 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.00655, allocations: 38.56 kB / 297.3 MB, free: 1.652 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.912e-05/0.00657, allocations: 12.84 kB / 297.3 MB, free: 1.637 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.535e-05/0.006585, allocations: 0 / 297.3 MB, free: 1.637 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.006609, allocations: 38.56 kB / 297.3 MB, free: 1.59 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.793e-06/0.00661, allocations: 3.984 kB / 297.3 MB, free: 1.586 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001186/0.006729, allocations: 53.75 kB / 297.4 MB, free: 1.527 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.383e-05/0.006753, allocations: 51.41 kB / 297.4 MB, free: 1.465 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.642e-05/0.006839, allocations: 138.6 kB / 297.6 MB, free: 1.316 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/0.006849, allocations: 29.7 kB / 297.6 MB, free: 1.281 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.168e-05/0.006911, allocations: 139.7 kB / 297.7 MB, free: 1.141 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.326e-05/0.006924, allocations: 19.83 kB / 297.7 MB, free: 1.121 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.97e-05/0.006964, allocations: 25.67 kB / 297.8 MB, free: 1.09 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.488e-05/0.007049, allocations: 326.8 kB / 298.1 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.615e-05/0.007065, allocations: 4 kB / 298.1 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.691e-05/0.007102, allocations: 44.22 kB / 298.1 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.953e-05/0.007171, allocations: 68.14 kB / 298.2 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.007173, allocations: 0 / 298.2 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001082/0.007282, allocations: 77.53 kB / 298.3 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.007293, allocations: 4 kB / 298.3 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.007297, allocations: 256 / 298.3 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.007311, allocations: 4 kB / 298.3 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.007425, allocations: 35.92 kB / 298.3 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.007432, allocations: 7.984 kB / 298.3 MB, free: 496 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.555e-05/0.007477, allocations: 8.125 kB / 298.3 MB, free: 488 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.007485, allocations: 4 kB / 298.3 MB, free: 484 kB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.928e-05/0.007545, allocations: 117.7 kB / 298.5 MB, free: 356 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.127e-05/0.007566, allocations: 4 kB / 298.5 MB, free: 352 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.856e-05/0.007595, allocations: 16.45 kB / 298.5 MB, free: 336 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.007596, allocations: 0 / 298.5 MB, free: 336 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-06/0.007597, allocations: 0 / 298.5 MB, free: 336 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.007599, allocations: 0 / 298.5 MB, free: 336 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001106/0.00771, allocations: 97.8 kB / 298.6 MB, free: 220 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.02e-07/0.007711, allocations: 0 / 298.6 MB, free: 220 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.765e-05/0.007758, allocations: 23.88 kB / 298.6 MB, free: 196 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.06e-05/0.007769, allocations: 7.938 kB / 298.6 MB, free: 188 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.007771, allocations: 4 kB / 298.6 MB, free: 184 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-06/0.007777, allocations: 4 kB / 298.6 MB, free: 180 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.007778, allocations: 0 / 298.6 MB, free: 180 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.007778, allocations: 0 / 298.6 MB, free: 180 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.428e-05/0.007863, allocations: 143.5 kB / 298.8 MB, free: 20 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.074e-05/0.007873, allocations: 0 / 298.8 MB, free: 20 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.796e-05/0.007931, allocations: 11.98 kB / 298.8 MB, free: 8 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.448e-05/0.007956, allocations: 0 / 298.8 MB, free: 8 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-06/0.007958, allocations: 0 / 298.8 MB, free: 8 kB / 282.7 MB Notification: Performance of sorting global known variables: time 4.26e-05/0.008001, allocations: 31.48 kB / 298.8 MB, free: 15.97 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008001, allocations: 0 / 298.8 MB, free: 15.97 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001993/0.0082, allocations: 35.77 kB / 298.8 MB, free: 15.94 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.569e-05/0.008266, allocations: 80.34 kB / 298.9 MB, free: 15.86 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.397e-05/0.00835, allocations: 40.83 kB / 299 MB, free: 15.81 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.008355, allocations: 0 / 299 MB, free: 15.81 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.877e-05/0.008384, allocations: 16.86 kB / 299 MB, free: 15.79 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001984/0.008582, allocations: 55.88 kB / 299 MB, free: 15.73 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.009599, allocations: 280 kB / 299.3 MB, free: 15.43 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.658e-05/0.009645, allocations: 63.34 kB / 299.4 MB, free: 15.35 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.656e-05/0.009682, allocations: 12.48 kB / 299.4 MB, free: 15.34 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.93e-05/0.009741, allocations: 55.38 kB / 299.4 MB, free: 15.29 MB / 298.7 MB Notification: Performance of SimCode: time 4.01e-07/0.009742, allocations: 4 kB / 299.4 MB, free: 15.28 MB / 298.7 MB Notification: Performance of Templates: time 0.002741/0.01248, allocations: 0.8426 MB / 300.3 MB, free: 14.46 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Sensors/Sensors.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0040113097056746]