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.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.00141/0.00141, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002318/0.003728, 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.001793/0.001793, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002541/0.004334, 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.227/1.227, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1442/1.371, allocations: 53.64 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.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.3836/0.3836, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03672/0.4204, allocations: 12.53 MB / 289.3 MB, free: 8.684 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.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.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.365e-06/2.365e-06, allocations: 0 / 290.6 MB, free: 7.684 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.877e-05/3.114e-05, allocations: 3.188 kB / 290.6 MB, free: 7.68 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.003152/0.003184, allocations: 2.033 MB / 292.6 MB, free: 6.07 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001103/0.004286, allocations: 0.5851 MB / 293.2 MB, free: 5.613 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.664e-05/0.004383, allocations: 4.219 kB / 293.2 MB, free: 5.613 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001832/0.004566, allocations: 39.66 kB / 293.2 MB, free: 5.582 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.15e-05/0.004648, allocations: 38.27 kB / 293.3 MB, free: 5.551 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001472/0.004795, allocations: 45.5 kB / 293.3 MB, free: 5.512 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001731/0.004968, allocations: 151.1 kB / 293.5 MB, free: 5.426 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001528/0.005121, allocations: 46.42 kB / 293.5 MB, free: 5.387 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001488/0.005269, allocations: 103.8 kB / 293.6 MB, free: 5.285 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.002e-05/0.00535, allocations: 39.89 kB / 293.7 MB, free: 5.246 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.739e-05/0.005387, allocations: 16 kB / 293.7 MB, free: 5.23 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.664e-05/0.005404, allocations: 15.94 kB / 293.7 MB, free: 5.215 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.837e-05/0.005432, allocations: 31.88 kB / 293.7 MB, free: 5.184 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.845e-05/0.00548, allocations: 35.94 kB / 293.8 MB, free: 5.148 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001747/0.005655, allocations: 95.61 kB / 293.9 MB, free: 5.055 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.16e-05/0.005677, allocations: 0 / 293.9 MB, free: 5.055 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.005678, allocations: 0 / 293.9 MB, free: 5.055 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.486e-05/0.005703, allocations: 0 / 293.9 MB, free: 5.055 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.0006112/0.006314, allocations: 369 kB / 294.2 MB, free: 4.668 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.019e-05/0.006375, allocations: 8.031 kB / 294.2 MB, free: 4.66 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.236e-05/0.006427, allocations: 20.92 kB / 294.2 MB, free: 4.641 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002178/0.006645, allocations: 143 kB / 294.4 MB, free: 4.477 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.006661, allocations: 12.66 kB / 294.4 MB, free: 4.465 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.006679, allocations: 12.38 kB / 294.4 MB, free: 4.453 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002032/0.006882, allocations: 113.1 kB / 294.5 MB, free: 4.336 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.006895, allocations: 192 / 294.5 MB, free: 4.336 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.006907, allocations: 8.375 kB / 294.5 MB, free: 4.328 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/0.006919, allocations: 7.938 kB / 294.5 MB, free: 4.32 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.606e-05/0.006975, allocations: 28.83 kB / 294.6 MB, free: 4.293 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006679/0.007643, allocations: 455 kB / 295 MB, free: 3.809 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001764/0.00782, allocations: 42.56 kB / 295 MB, free: 3.758 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.424e-05/0.007844, allocations: 16.78 kB / 295.1 MB, free: 3.738 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.583e-05/0.00788, allocations: 4 kB / 295.1 MB, free: 3.734 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.007911, allocations: 30.56 kB / 295.1 MB, free: 3.695 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 2.985e-06/0.007914, allocations: 0 / 295.1 MB, free: 3.695 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001847/0.008098, allocations: 49.81 kB / 295.1 MB, free: 3.641 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.008142, allocations: 51.41 kB / 295.2 MB, free: 3.578 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.008245, allocations: 138.6 kB / 295.3 MB, free: 3.43 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.008266, allocations: 33.69 kB / 295.4 MB, free: 3.391 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.285e-05/0.008349, allocations: 139.7 kB / 295.5 MB, free: 3.25 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.422e-05/0.008363, allocations: 19.83 kB / 295.5 MB, free: 3.23 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.632e-05/0.00841, allocations: 29.66 kB / 295.5 MB, free: 3.195 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.008523, allocations: 326.8 kB / 295.9 MB, free: 2.867 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.565e-05/0.008548, allocations: 7.938 kB / 295.9 MB, free: 2.859 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.176e-05/0.0086, allocations: 45.25 kB / 295.9 MB, free: 2.801 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.679e-05/0.008677, allocations: 56.16 kB / 296 MB, free: 2.73 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.008681, allocations: 8 kB / 296 MB, free: 2.723 MB / 282.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001082/0.008789, allocations: 69.55 kB / 296 MB, free: 2.648 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.008812, allocations: 4 kB / 296.1 MB, free: 2.645 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.738e-05/0.008849, allocations: 7.984 kB / 296.1 MB, free: 2.637 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.008865, allocations: 0 / 296.1 MB, free: 2.637 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000166/0.009031, allocations: 31.98 kB / 296.1 MB, free: 2.605 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.009037, allocations: 256 / 296.1 MB, free: 2.605 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.874e-05/0.009076, allocations: 7.984 kB / 296.1 MB, free: 2.598 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.009089, allocations: 12.12 kB / 296.1 MB, free: 2.586 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 9.163e-05/0.00918, allocations: 129.6 kB / 296.2 MB, free: 2.449 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.472e-05/0.009205, allocations: 4 kB / 296.2 MB, free: 2.445 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.807e-05/0.009243, allocations: 12.45 kB / 296.3 MB, free: 2.434 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.009247, allocations: 0 / 296.3 MB, free: 2.434 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.009249, allocations: 4 kB / 296.3 MB, free: 2.43 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.009253, allocations: 0 / 296.3 MB, free: 2.43 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001252/0.009378, allocations: 89.81 kB / 296.3 MB, free: 2.324 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.00938, allocations: 0 / 296.3 MB, free: 2.324 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.061e-05/0.009461, allocations: 19.92 kB / 296.4 MB, free: 2.305 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.535e-05/0.009476, allocations: 11.95 kB / 296.4 MB, free: 2.293 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.009479, allocations: 0 / 296.4 MB, free: 2.293 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.657e-06/0.009487, allocations: 4 kB / 296.4 MB, free: 2.289 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.00949, allocations: 3.984 kB / 296.4 MB, free: 2.285 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.009493, allocations: 0 / 296.4 MB, free: 2.285 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001324/0.009625, allocations: 143.4 kB / 296.5 MB, free: 2.129 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/0.00964, allocations: 4 kB / 296.5 MB, free: 2.125 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.185e-05/0.009682, allocations: 0 / 296.5 MB, free: 2.125 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.525e-05/0.009727, allocations: 11.98 kB / 296.5 MB, free: 2.113 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.009731, allocations: 0 / 296.5 MB, free: 2.113 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.803e-05/0.009769, allocations: 35.17 kB / 296.6 MB, free: 2.078 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009769, allocations: 4 kB / 296.6 MB, free: 2.074 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001483/0.009917, allocations: 31.89 kB / 296.6 MB, free: 2.043 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 0.0001264/0.01004, allocations: 76.41 kB / 296.7 MB, free: 1.961 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001206/0.01016, allocations: 28.8 kB / 296.7 MB, free: 1.93 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/0.01017, allocations: 7.984 kB / 296.7 MB, free: 1.922 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.194e-05/0.0102, allocations: 16.8 kB / 296.7 MB, free: 1.902 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002288/0.01043, allocations: 9.766 kB / 296.7 MB, free: 1.895 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/0.01155, allocations: 270.1 kB / 297 MB, free: 1.598 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.032e-05/0.0116, allocations: 63.34 kB / 297.1 MB, free: 1.516 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.608e-05/0.01165, allocations: 7.984 kB / 297.1 MB, free: 1.508 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.15e-05/0.01171, allocations: 59.38 kB / 297.1 MB, free: 1.449 MB / 282.7 MB Notification: Performance of SimCode: time 2.735e-06/0.01171, allocations: 0 / 297.1 MB, free: 1.449 MB / 282.7 MB Notification: Performance of Templates: time 0.003471/0.01519, allocations: 0.689 MB / 297.8 MB, free: 0.7695 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.259453572332859]