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.001159/0.001159, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.005329/0.005329, allocations: 169 kB / 24.82 MB, free: 9.266 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 1.049/1.049, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.3769/0.3769, allocations: 32.8 MB / 294.6 MB, free: 1.254 MB / 266.7 MB " [Timeout remaining time 179] 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 3.827e-06/3.827e-06, allocations: 0 / 376.4 MB, free: 4.453 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.081e-05/5.463e-05, allocations: 5.125 kB / 376.4 MB, free: 4.449 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.00498/0.005035, allocations: 1.969 MB / 378.4 MB, free: 2.465 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00128/0.006315, allocations: 0.5919 MB / 379 MB, free: 1.867 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001395/0.006454, allocations: 0 / 379 MB, free: 1.867 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002687/0.006723, allocations: 35.77 kB / 379 MB, free: 1.832 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001651/0.006888, allocations: 35.64 kB / 379.1 MB, free: 1.797 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002313/0.007119, allocations: 35.95 kB / 379.1 MB, free: 1.762 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002234/0.007343, allocations: 163.3 kB / 379.3 MB, free: 1.602 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002048/0.007547, allocations: 49.7 kB / 379.3 MB, free: 1.551 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001729/0.00772, allocations: 79.86 kB / 379.4 MB, free: 1.473 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.007824, allocations: 51.89 kB / 379.4 MB, free: 1.422 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.909e-05/0.007863, allocations: 12 kB / 379.5 MB, free: 1.41 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.468e-05/0.007888, allocations: 12 kB / 379.5 MB, free: 1.398 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.073e-05/0.007929, allocations: 31.84 kB / 379.5 MB, free: 1.367 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.116e-05/0.00799, allocations: 47.89 kB / 379.6 MB, free: 1.32 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002472/0.008237, allocations: 103.6 kB / 379.7 MB, free: 1.219 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.846e-06/0.008246, allocations: 0 / 379.7 MB, free: 1.219 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.587e-06/0.008249, allocations: 4 kB / 379.7 MB, free: 1.215 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.157e-06/0.008259, allocations: 0 / 379.7 MB, free: 1.215 MB / 346.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.0006936/0.008952, allocations: 472.3 kB / 380.1 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.198e-05/0.009024, allocations: 12.03 kB / 380.1 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.206e-05/0.009086, allocations: 24.84 kB / 380.2 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002281/0.009314, allocations: 156.2 kB / 380.3 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.009333, allocations: 8.656 kB / 380.3 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.071e-05/0.009354, allocations: 16.38 kB / 380.3 MB, free: 492 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000236/0.00959, allocations: 105.2 kB / 380.4 MB, free: 380 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.0096, allocations: 192 / 380.4 MB, free: 380 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/0.009618, allocations: 4.375 kB / 380.4 MB, free: 376 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.009627, allocations: 11.94 kB / 380.4 MB, free: 364 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.248e-05/0.00969, allocations: 36.75 kB / 380.5 MB, free: 328 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008737/0.01056, allocations: 0.5555 MB / 381 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002021/0.01077, allocations: 51.06 kB / 381.1 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.031e-05/0.0108, allocations: 11.69 kB / 381.1 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.751e-05/0.01082, allocations: 0 / 381.1 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.429e-05/0.01087, allocations: 41.52 kB / 381.1 MB, free: 15.58 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.01087, allocations: 0 / 381.1 MB, free: 15.58 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002346/0.0111, allocations: 69.56 kB / 381.2 MB, free: 15.51 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.943e-05/0.01115, allocations: 51.41 kB / 381.3 MB, free: 15.45 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000173/0.01133, allocations: 208.4 kB / 381.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.01135, allocations: 25.7 kB / 381.5 MB, free: 15.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001543/0.0115, allocations: 182.4 kB / 381.7 MB, free: 15.01 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.608e-05/0.01152, allocations: 19.84 kB / 381.7 MB, free: 14.99 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.192e-05/0.01157, allocations: 31.38 kB / 381.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002273/0.01179, allocations: 0.4961 MB / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.863e-05/0.01182, allocations: 8 kB / 382.2 MB, free: 14.44 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.014e-05/0.01188, allocations: 54.36 kB / 382.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001029/0.01199, allocations: 74.34 kB / 382.3 MB, free: 14.27 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.411e-06/0.01199, allocations: 4 kB / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001576/0.01215, allocations: 81.52 kB / 382.4 MB, free: 14.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.01217, allocations: 8 kB / 382.4 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.01218, allocations: 0 / 382.4 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.0122, allocations: 4 kB / 382.4 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.01234, allocations: 28.3 kB / 382.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/0.01235, allocations: 4 kB / 382.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.674e-05/0.01241, allocations: 23.88 kB / 382.5 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.01242, allocations: 4 kB / 382.5 MB, free: 14.11 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.0001157/0.01253, allocations: 160.5 kB / 382.7 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.371e-05/0.01256, allocations: 11.95 kB / 382.7 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.541e-05/0.0126, allocations: 8.469 kB / 382.7 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.01261, allocations: 0 / 382.7 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.01261, allocations: 0 / 382.7 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/0.01262, allocations: 4 kB / 382.7 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001596/0.01278, allocations: 125.2 kB / 382.8 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.01278, allocations: 7.938 kB / 382.8 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.042e-05/0.01285, allocations: 11.98 kB / 382.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.01285, allocations: 3.938 kB / 382.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.01286, allocations: 4 kB / 382.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.01286, allocations: 0 / 382.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.01287, allocations: 80 / 382.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002305/0.0131, allocations: 199.9 kB / 383 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.506e-05/0.01312, allocations: 11.89 kB / 383 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/0.01314, allocations: 0 / 383 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.188e-05/0.0132, allocations: 12 kB / 383 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.345e-05/0.01326, allocations: 3.984 kB / 383.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.03e-06/0.01326, allocations: 4 kB / 383.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.315e-05/0.01333, allocations: 137.9 kB / 383.2 MB, free: 13.37 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01333, allocations: 0 / 383.2 MB, free: 13.37 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001776/0.01351, allocations: 35.83 kB / 383.2 MB, free: 13.33 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.0001525/0.01366, allocations: 99.17 kB / 383.3 MB, free: 13.22 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001359/0.0138, allocations: 47.58 kB / 383.4 MB, free: 13.17 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.0138, allocations: 256 / 383.4 MB, free: 13.17 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.251e-05/0.01383, allocations: 19.69 kB / 383.4 MB, free: 13.15 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002366/0.01406, allocations: 11.94 kB / 383.4 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000544/0.01461, allocations: 259.1 kB / 383.7 MB, free: 12.86 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.485e-05/0.01466, allocations: 63.34 kB / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.519e-05/0.01471, allocations: 11.98 kB / 383.7 MB, free: 12.76 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.65e-05/0.01478, allocations: 70.2 kB / 383.8 MB, free: 12.69 MB / 362.7 MB Notification: Performance of SimCode: time 8.92e-07/0.01478, allocations: 4 kB / 383.8 MB, free: 12.69 MB / 362.7 MB Notification: Performance of Templates: time 0.003318/0.0181, allocations: 0.7341 MB / 384.5 MB, free: 11.96 MB / 362.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 -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.415160621982068]