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.001057/0.001057, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001222/0.001222, allocations: 168.8 kB / 24.91 MB, free: 9.199 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.019/1.019, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.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.294/0.294, allocations: 34.26 MB / 296.1 MB, free: 0.7305 MB / 266.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.433e-06/1.433e-06, allocations: 0 / 325.3 MB, free: 7.684 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.497e-05/2.64e-05, allocations: 3.016 kB / 325.3 MB, free: 7.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.002393/0.002419, allocations: 2.016 MB / 327.3 MB, free: 5.652 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007205/0.00314, allocations: 0.5926 MB / 327.9 MB, free: 5.055 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.435e-05/0.003214, allocations: 4 kB / 327.9 MB, free: 5.051 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001403/0.003354, allocations: 35.7 kB / 327.9 MB, free: 5.016 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.558e-05/0.00345, allocations: 39.64 kB / 327.9 MB, free: 4.977 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001263/0.003576, allocations: 47.94 kB / 328 MB, free: 4.93 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001279/0.003704, allocations: 151.4 kB / 328.1 MB, free: 4.781 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.003818, allocations: 50.34 kB / 328.2 MB, free: 4.734 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.003926, allocations: 87.86 kB / 328.3 MB, free: 4.648 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.118e-05/0.003987, allocations: 39.89 kB / 328.3 MB, free: 4.609 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.087e-05/0.004008, allocations: 12 kB / 328.3 MB, free: 4.598 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.567e-05/0.004024, allocations: 16 kB / 328.3 MB, free: 4.582 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.482e-05/0.004049, allocations: 35.83 kB / 328.4 MB, free: 4.547 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.546e-05/0.004084, allocations: 44.41 kB / 328.4 MB, free: 4.504 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001364/0.004221, allocations: 115.5 kB / 328.5 MB, free: 4.391 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.004222, allocations: 0 / 328.5 MB, free: 4.391 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.004223, allocations: 0 / 328.5 MB, free: 4.391 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.156e-06/0.004226, allocations: 0 / 328.5 MB, free: 4.391 MB / 298.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.0003485/0.004575, allocations: 346 kB / 328.9 MB, free: 4.027 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.949e-05/0.004604, allocations: 8.031 kB / 328.9 MB, free: 4.02 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.324e-05/0.004638, allocations: 20.92 kB / 328.9 MB, free: 4 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.004768, allocations: 137.5 kB / 329 MB, free: 3.84 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.00478, allocations: 12.66 kB / 329 MB, free: 3.828 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.297e-05/0.004793, allocations: 16.38 kB / 329.1 MB, free: 3.812 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/0.004924, allocations: 113.1 kB / 329.2 MB, free: 3.695 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.004931, allocations: 192 / 329.2 MB, free: 3.695 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.00494, allocations: 4.375 kB / 329.2 MB, free: 3.691 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.004946, allocations: 7.938 kB / 329.2 MB, free: 3.684 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.779e-05/0.004994, allocations: 28.83 kB / 329.2 MB, free: 3.656 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000476/0.00547, allocations: 455.1 kB / 329.7 MB, free: 3.172 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.397e-05/0.005564, allocations: 42.55 kB / 329.7 MB, free: 3.121 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.579e-05/0.00558, allocations: 12.86 kB / 329.7 MB, free: 3.105 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/0.005594, allocations: 4.125 kB / 329.7 MB, free: 3.102 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.723e-05/0.005611, allocations: 34.5 kB / 329.7 MB, free: 3.059 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.005612, allocations: 4 kB / 329.8 MB, free: 3.055 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.000101/0.005713, allocations: 45.69 kB / 329.8 MB, free: 3.004 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.328e-05/0.005736, allocations: 51.41 kB / 329.8 MB, free: 2.941 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.256e-05/0.005809, allocations: 153.3 kB / 330 MB, free: 2.781 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.977e-06/0.005818, allocations: 25.7 kB / 330 MB, free: 2.75 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.924e-05/0.005867, allocations: 131.7 kB / 330.2 MB, free: 2.617 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.013e-05/0.005877, allocations: 15.89 kB / 330.2 MB, free: 2.602 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.133e-05/0.005908, allocations: 33.67 kB / 330.2 MB, free: 2.562 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.828e-05/0.005977, allocations: 318.8 kB / 330.5 MB, free: 2.242 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.206e-05/0.005989, allocations: 8 kB / 330.5 MB, free: 2.234 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.199e-05/0.006021, allocations: 53.23 kB / 330.6 MB, free: 2.168 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.437e-05/0.006075, allocations: 56.14 kB / 330.6 MB, free: 2.098 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.006077, allocations: 0 / 330.6 MB, free: 2.098 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 7.586e-05/0.006153, allocations: 81.8 kB / 330.7 MB, free: 2.012 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.006164, allocations: 7.984 kB / 330.7 MB, free: 2.004 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.006168, allocations: 0 / 330.7 MB, free: 2.004 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.006179, allocations: 8 kB / 330.7 MB, free: 1.996 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.57e-05/0.006265, allocations: 23.98 kB / 330.7 MB, free: 1.973 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-06/0.006267, allocations: 0 / 330.7 MB, free: 1.973 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.397e-05/0.006301, allocations: 7.938 kB / 330.8 MB, free: 1.965 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.006307, allocations: 8 kB / 330.8 MB, free: 1.957 MB / 298.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.635e-05/0.006364, allocations: 117.7 kB / 330.9 MB, free: 1.832 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.639e-05/0.00638, allocations: 12.11 kB / 330.9 MB, free: 1.82 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.807e-05/0.006398, allocations: 8.469 kB / 330.9 MB, free: 1.812 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.006401, allocations: 4 kB / 330.9 MB, free: 1.809 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.006403, allocations: 0 / 330.9 MB, free: 1.809 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.006405, allocations: 0 / 330.9 MB, free: 1.809 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.621e-05/0.006492, allocations: 97.8 kB / 331 MB, free: 1.695 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.006493, allocations: 0 / 331 MB, free: 1.695 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.494e-05/0.006528, allocations: 15.94 kB / 331 MB, free: 1.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.00653, allocations: 3.984 kB / 331 MB, free: 1.676 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.857e-06/0.006533, allocations: 0 / 331 MB, free: 1.676 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.006535, allocations: 4 kB / 331 MB, free: 1.672 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.006536, allocations: 4 kB / 331 MB, free: 1.668 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.222e-05/0.006608, allocations: 143.5 kB / 331.2 MB, free: 1.512 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.078e-05/0.006619, allocations: 11.83 kB / 331.2 MB, free: 1.5 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.466e-06/0.006628, allocations: 4 kB / 331.2 MB, free: 1.496 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.601e-05/0.006664, allocations: 3.984 kB / 331.2 MB, free: 1.492 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.466e-05/0.006688, allocations: 4 kB / 331.2 MB, free: 1.488 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/0.00669, allocations: 0 / 331.2 MB, free: 1.488 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.527e-05/0.006716, allocations: 39.56 kB / 331.2 MB, free: 1.449 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006716, allocations: 0 / 331.2 MB, free: 1.449 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001314/0.006847, allocations: 23.95 kB / 331.2 MB, free: 1.426 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 5.393e-05/0.006901, allocations: 80.36 kB / 331.3 MB, free: 1.34 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.186e-05/0.006973, allocations: 40.77 kB / 331.4 MB, free: 1.297 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.006976, allocations: 0 / 331.4 MB, free: 1.297 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.746e-05/0.006994, allocations: 16.8 kB / 331.4 MB, free: 1.277 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001249/0.007118, allocations: 8.422 kB / 331.4 MB, free: 1.27 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003073/0.007426, allocations: 258.3 kB / 331.6 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.267e-05/0.007458, allocations: 63.34 kB / 331.7 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.847e-05/0.007487, allocations: 11.97 kB / 331.7 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.102e-05/0.007528, allocations: 55.38 kB / 331.8 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of SimCode: time 4.21e-07/0.007528, allocations: 0 / 331.8 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of Templates: time 0.002055/0.009583, allocations: 0.6863 MB / 332.5 MB, free: 164 kB / 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 -s gbode -gbm=radauIIA3 -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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9161567399278283]