Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007377/0.0007377, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001309/0.002047, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006212/0.0006212, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009359/0.001557, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8586/0.8586, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1959/1.055, allocations: 52.5 MB / 238.5 MB, free: 7.629 MB / 234.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.1431/0.1431, allocations: 32.79 MB / 272 MB, free: 6.305 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01896/0.162, allocations: 12.54 MB / 284.5 MB, free: 9.727 MB / 282.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 285.8 MB, free: 8.453 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.132e-05/1.338e-05, allocations: 5.406 kB / 285.8 MB, free: 8.449 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.002129/0.002143, allocations: 2.018 MB / 287.8 MB, free: 6.418 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000687/0.00283, allocations: 0.5569 MB / 288.4 MB, free: 5.855 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.254e-05/0.002892, allocations: 0 / 288.4 MB, free: 5.855 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001021/0.002994, allocations: 31.73 kB / 288.4 MB, free: 5.824 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.57e-05/0.00305, allocations: 35.7 kB / 288.5 MB, free: 5.789 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001062/0.003156, allocations: 47.86 kB / 288.5 MB, free: 5.742 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001308/0.003287, allocations: 155.4 kB / 288.7 MB, free: 5.59 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.003403, allocations: 38.33 kB / 288.7 MB, free: 5.551 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001367/0.00354, allocations: 107.7 kB / 288.8 MB, free: 5.445 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.077e-05/0.00361, allocations: 43.88 kB / 288.8 MB, free: 5.402 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.49e-05/0.003635, allocations: 16 kB / 288.9 MB, free: 5.387 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.736e-05/0.003653, allocations: 16 kB / 288.9 MB, free: 5.371 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.405e-05/0.003677, allocations: 19.94 kB / 288.9 MB, free: 5.352 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.452e-05/0.003711, allocations: 43.88 kB / 288.9 MB, free: 5.309 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001239/0.003835, allocations: 91.67 kB / 289 MB, free: 5.219 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.003843, allocations: 0 / 289 MB, free: 5.219 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.003844, allocations: 0 / 289 MB, free: 5.219 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.00385, allocations: 0 / 289 MB, free: 5.219 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.0003545/0.004205, allocations: 364.3 kB / 289.4 MB, free: 4.836 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.653e-05/0.004232, allocations: 12.03 kB / 289.4 MB, free: 4.824 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.054e-05/0.004262, allocations: 28.86 kB / 289.4 MB, free: 4.797 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.004379, allocations: 137.5 kB / 289.6 MB, free: 4.637 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.546e-06/0.004387, allocations: 8.656 kB / 289.6 MB, free: 4.629 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.487e-05/0.004402, allocations: 16.38 kB / 289.6 MB, free: 4.613 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.004519, allocations: 113.1 kB / 289.7 MB, free: 4.496 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.541e-06/0.004524, allocations: 192 / 289.7 MB, free: 4.496 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.004533, allocations: 8.375 kB / 289.7 MB, free: 4.488 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.004539, allocations: 7.938 kB / 289.7 MB, free: 4.48 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.399e-05/0.004583, allocations: 29.39 kB / 289.7 MB, free: 4.453 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004258/0.005009, allocations: 459.1 kB / 290.2 MB, free: 3.965 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.661e-05/0.005095, allocations: 42.56 kB / 290.2 MB, free: 3.914 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.612e-05/0.005112, allocations: 12.98 kB / 290.2 MB, free: 3.898 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/0.005125, allocations: 0 / 290.2 MB, free: 3.898 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.455e-05/0.00514, allocations: 30.56 kB / 290.3 MB, free: 3.859 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 6.51e-07/0.00514, allocations: 0 / 290.3 MB, free: 3.859 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 8.948e-05/0.00523, allocations: 57.61 kB / 290.3 MB, free: 3.797 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.039e-05/0.00525, allocations: 55.41 kB / 290.4 MB, free: 3.73 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.394e-05/0.005314, allocations: 146.5 kB / 290.5 MB, free: 3.574 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.406e-06/0.005323, allocations: 29.7 kB / 290.6 MB, free: 3.539 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.398e-05/0.005367, allocations: 135.7 kB / 290.7 MB, free: 3.402 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.376e-06/0.005375, allocations: 15.91 kB / 290.7 MB, free: 3.387 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.67e-05/0.005402, allocations: 17.72 kB / 290.7 MB, free: 3.363 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.121e-05/0.005473, allocations: 326.8 kB / 291 MB, free: 3.035 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.217e-05/0.005485, allocations: 8 kB / 291 MB, free: 3.027 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.797e-05/0.005513, allocations: 40.22 kB / 291.1 MB, free: 2.973 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.172e-05/0.005565, allocations: 76.11 kB / 291.2 MB, free: 2.883 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.005566, allocations: 0 / 291.2 MB, free: 2.883 MB / 282.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 6.208e-05/0.005628, allocations: 73.55 kB / 291.2 MB, free: 2.805 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.748e-06/0.005638, allocations: 7.938 kB / 291.2 MB, free: 2.797 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.005643, allocations: 4 kB / 291.2 MB, free: 2.793 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.164e-06/0.00565, allocations: 0 / 291.2 MB, free: 2.793 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.813e-05/0.005728, allocations: 31.92 kB / 291.3 MB, free: 2.762 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.385e-06/0.005731, allocations: 0 / 291.3 MB, free: 2.762 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.431e-05/0.005765, allocations: 16.02 kB / 291.3 MB, free: 2.746 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.00577, allocations: 8 kB / 291.3 MB, free: 2.738 MB / 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.821e-05/0.005828, allocations: 117.8 kB / 291.4 MB, free: 2.613 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.41e-05/0.005842, allocations: 8 kB / 291.4 MB, free: 2.605 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.822e-05/0.005861, allocations: 8.469 kB / 291.4 MB, free: 2.598 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.005862, allocations: 0 / 291.4 MB, free: 2.598 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.005864, allocations: 4 kB / 291.4 MB, free: 2.594 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.005867, allocations: 7.922 kB / 291.4 MB, free: 2.586 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.781e-05/0.005945, allocations: 89.84 kB / 291.5 MB, free: 2.48 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.92e-07/0.005945, allocations: 0 / 291.5 MB, free: 2.48 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.502e-05/0.00598, allocations: 23.92 kB / 291.6 MB, free: 2.457 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.346e-06/0.005989, allocations: 7.953 kB / 291.6 MB, free: 2.449 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.00599, allocations: 0 / 291.6 MB, free: 2.449 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.685e-06/0.005992, allocations: 0 / 291.6 MB, free: 2.449 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.005993, allocations: 0 / 291.6 MB, free: 2.449 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.005993, allocations: 256 / 291.6 MB, free: 2.449 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.85e-05/0.006062, allocations: 159.5 kB / 291.7 MB, free: 2.277 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.873e-06/0.006069, allocations: 0 / 291.7 MB, free: 2.277 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.284e-05/0.006102, allocations: 4 kB / 291.7 MB, free: 2.273 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.709e-05/0.006119, allocations: 7.984 kB / 291.7 MB, free: 2.266 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-06/0.006121, allocations: 0 / 291.7 MB, free: 2.266 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.953e-05/0.00614, allocations: 35.36 kB / 291.8 MB, free: 2.23 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00614, allocations: 0 / 291.8 MB, free: 2.23 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001227/0.006263, allocations: 27.89 kB / 291.8 MB, free: 2.203 MB / 282.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 5.42e-05/0.006317, allocations: 72.42 kB / 291.9 MB, free: 2.125 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.419e-05/0.006381, allocations: 44.77 kB / 291.9 MB, free: 2.078 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.006386, allocations: 0 / 291.9 MB, free: 2.078 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.253e-05/0.006408, allocations: 16.86 kB / 291.9 MB, free: 2.059 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001498/0.006558, allocations: 54 kB / 292 MB, free: 2 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007698/0.007328, allocations: 264.9 kB / 292.2 MB, free: 1.711 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.126e-05/0.007359, allocations: 63.34 kB / 292.3 MB, free: 1.629 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.03e-05/0.007389, allocations: 16.47 kB / 292.3 MB, free: 1.613 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.342e-05/0.007433, allocations: 55.38 kB / 292.4 MB, free: 1.559 MB / 282.7 MB Notification: Performance of SimCode: time 3.8e-07/0.007433, allocations: 0 / 292.4 MB, free: 1.559 MB / 282.7 MB Notification: Performance of Templates: time 0.002097/0.00953, allocations: 0.8374 MB / 293.2 MB, free: 0.7266 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 2.7343600699678063]