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.001873/0.001873, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.001968/0.001968, allocations: 161.6 kB / 24.27 MB, free: 156 kB / 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 1.592/1.592, allocations: 177.1 MB / 204.6 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] 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.4018/0.4018, allocations: 34.27 MB / 295.3 MB, free: 0.6797 MB / 266.7 MB " [Timeout remaining time 179] 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.373e-06/1.373e-06, allocations: 0 / 377.3 MB, free: 3.008 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.662e-05/2.799e-05, allocations: 6.312 kB / 377.3 MB, free: 3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.003793/0.003821, allocations: 1.942 MB / 379.2 MB, free: 1.043 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001217/0.005038, allocations: 0.5804 MB / 379.8 MB, free: 468 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.41e-05/0.005132, allocations: 0 / 379.8 MB, free: 468 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001959/0.005328, allocations: 39.66 kB / 379.8 MB, free: 428 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001464/0.005474, allocations: 35.7 kB / 379.9 MB, free: 392 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001705/0.005645, allocations: 39.94 kB / 379.9 MB, free: 352 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002345/0.005879, allocations: 155.4 kB / 380 MB, free: 196 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001525/0.006032, allocations: 45.78 kB / 380.1 MB, free: 148 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001604/0.006192, allocations: 83.8 kB / 380.2 MB, free: 64 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.669e-05/0.006289, allocations: 43.89 kB / 380.2 MB, free: 20 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.7e-05/0.006326, allocations: 12 kB / 380.2 MB, free: 8 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.699e-05/0.006383, allocations: 12.05 kB / 380.2 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.32e-05/0.006426, allocations: 35.84 kB / 380.3 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.966e-05/0.006496, allocations: 47.84 kB / 380.3 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002502/0.006746, allocations: 175.4 kB / 380.5 MB, free: 15.74 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.006749, allocations: 0 / 380.5 MB, free: 15.74 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.00675, allocations: 0 / 380.5 MB, free: 15.74 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.006756, allocations: 0 / 380.5 MB, free: 15.74 MB / 362.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.0007593/0.007515, allocations: 479.9 kB / 381 MB, free: 15.23 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.007557, allocations: 8.031 kB / 381 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.687e-05/0.007634, allocations: 32.84 kB / 381 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002387/0.007872, allocations: 144.4 kB / 381.1 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.00789, allocations: 16.66 kB / 381.2 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.326e-05/0.007913, allocations: 12.38 kB / 381.2 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003081/0.008221, allocations: 124.5 kB / 381.3 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.008234, allocations: 4.188 kB / 381.3 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.033e-05/0.008254, allocations: 8.359 kB / 381.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.008264, allocations: 7.938 kB / 381.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002452/0.008509, allocations: 88.8 kB / 381.4 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001053/0.009562, allocations: 0.5868 MB / 382 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002548/0.009817, allocations: 74.95 kB / 382.1 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.381e-05/0.009901, allocations: 27.84 kB / 382.1 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.807e-05/0.009929, allocations: 3.984 kB / 382.1 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.9e-05/0.009968, allocations: 41.39 kB / 382.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 9.82e-07/0.009969, allocations: 0 / 382.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003562/0.01033, allocations: 85.62 kB / 382.2 MB, free: 13.87 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.426e-05/0.01038, allocations: 63.39 kB / 382.3 MB, free: 13.79 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002031/0.01058, allocations: 212.3 kB / 382.5 MB, free: 13.57 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.0106, allocations: 29.7 kB / 382.5 MB, free: 13.54 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001465/0.01075, allocations: 194.4 kB / 382.7 MB, free: 13.34 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.06e-05/0.01077, allocations: 15.86 kB / 382.7 MB, free: 13.32 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.196e-05/0.01083, allocations: 39.3 kB / 382.8 MB, free: 13.28 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002655/0.0111, allocations: 0.4922 MB / 383.3 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.19e-05/0.01119, allocations: 27.98 kB / 383.3 MB, free: 12.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001244/0.01131, allocations: 74.41 kB / 383.4 MB, free: 12.65 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001948/0.01151, allocations: 106.3 kB / 383.5 MB, free: 12.53 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.01151, allocations: 0 / 383.5 MB, free: 12.53 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002508/0.01176, allocations: 117.5 kB / 383.6 MB, free: 12.41 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.01178, allocations: 4 kB / 383.6 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.01178, allocations: 4 kB / 383.6 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.0118, allocations: 0 / 383.6 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.01192, allocations: 23.98 kB / 383.6 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.01193, allocations: 4.125 kB / 383.6 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.253e-05/0.01201, allocations: 15.88 kB / 383.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.01202, allocations: 4 kB / 383.6 MB, free: 12.35 MB / 362.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 0.0001506/0.01217, allocations: 176.5 kB / 383.8 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.3e-05/0.0122, allocations: 7.953 kB / 383.8 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.46e-05/0.01224, allocations: 12.47 kB / 383.8 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.01224, allocations: 0 / 383.8 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.01224, allocations: 4.188 kB / 383.8 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.01225, allocations: 3.984 kB / 383.8 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002218/0.01247, allocations: 172.5 kB / 384 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.01247, allocations: 4 kB / 384 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.064e-05/0.01255, allocations: 15.98 kB / 384 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.01256, allocations: 0 / 384 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.01256, allocations: 0 / 384 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.01256, allocations: 0 / 384 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.01257, allocations: 0 / 384 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002973/0.01286, allocations: 235.8 kB / 384.2 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.724e-05/0.01288, allocations: 7.953 kB / 384.3 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.0129, allocations: 0 / 384.3 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.794e-05/0.01297, allocations: 4 kB / 384.3 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.398e-05/0.01303, allocations: 7.984 kB / 384.3 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.01303, allocations: 4 kB / 384.3 MB, free: 11.65 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001214/0.01315, allocations: 159.2 kB / 384.4 MB, free: 11.49 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01315, allocations: 0 / 384.4 MB, free: 11.49 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000243/0.0134, allocations: 31.89 kB / 384.5 MB, free: 11.46 MB / 362.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.0001188/0.01352, allocations: 91.25 kB / 384.5 MB, free: 11.36 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002309/0.01375, allocations: 67.59 kB / 384.6 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.01375, allocations: 256 / 384.6 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.041e-05/0.01384, allocations: 39.61 kB / 384.6 MB, free: 11.25 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002646/0.0141, allocations: 14.28 kB / 384.7 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005415/0.01465, allocations: 259.2 kB / 384.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001114/0.01476, allocations: 98.27 kB / 385 MB, free: 10.83 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.948e-05/0.0148, allocations: 4 kB / 385 MB, free: 10.83 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.621e-05/0.01483, allocations: 8.5 kB / 385 MB, free: 10.82 MB / 362.7 MB Notification: Performance of SimCode: time 4.21e-07/0.01483, allocations: 4 kB / 385 MB, free: 10.82 MB / 362.7 MB Notification: Performance of Templates: time 0.003869/0.0187, allocations: 0.6839 MB / 385.7 MB, free: 10.14 MB / 362.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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.011952186003327]