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.001222/0.001222, allocations: 77.88 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.001265/0.001265, allocations: 171.6 kB / 24.82 MB, free: 9.242 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.48 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.3049/0.3049, allocations: 34.26 MB / 296.1 MB, free: 0.7266 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 2.595e-06/2.595e-06, allocations: 0 / 378.5 MB, free: 2.422 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.129e-05/3.388e-05, allocations: 5.547 kB / 378.5 MB, free: 2.418 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.0038/0.003834, allocations: 1.961 MB / 380.4 MB, free: 452 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001143/0.004977, allocations: 0.592 MB / 381 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.005081, allocations: 0 / 381 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001846/0.005265, allocations: 31.72 kB / 381.1 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001262/0.005392, allocations: 43.53 kB / 381.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001644/0.005556, allocations: 39.94 kB / 381.1 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001861/0.005742, allocations: 155.4 kB / 381.3 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.00588, allocations: 45.66 kB / 381.3 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001477/0.006028, allocations: 91.84 kB / 381.4 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.027e-05/0.006108, allocations: 43.89 kB / 381.5 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.037e-05/0.006138, allocations: 12 kB / 381.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.149e-05/0.00616, allocations: 12 kB / 381.5 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.306e-05/0.006193, allocations: 31.84 kB / 381.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.098e-05/0.006244, allocations: 47.91 kB / 381.6 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001625/0.006406, allocations: 103.6 kB / 381.7 MB, free: 15.2 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.006408, allocations: 0 / 381.7 MB, free: 15.2 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.006409, allocations: 0 / 381.7 MB, free: 15.2 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.006414, allocations: 7.938 kB / 381.7 MB, free: 15.19 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.0005352/0.00695, allocations: 464.3 kB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.006991, allocations: 12.03 kB / 382.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.924e-05/0.00704, allocations: 28.78 kB / 382.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001817/0.007222, allocations: 156.4 kB / 382.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.007236, allocations: 8.656 kB / 382.3 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.226e-05/0.007258, allocations: 20.31 kB / 382.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002102/0.007469, allocations: 105.1 kB / 382.5 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.007476, allocations: 4.188 kB / 382.5 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.007491, allocations: 4.375 kB / 382.5 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.007499, allocations: 7.938 kB / 382.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.897e-05/0.007578, allocations: 32.81 kB / 382.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007731/0.008351, allocations: 0.5555 MB / 383.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000137/0.008488, allocations: 51.08 kB / 383.1 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.087e-05/0.008519, allocations: 19.84 kB / 383.1 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.661e-05/0.008535, allocations: 0 / 383.1 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.008569, allocations: 37.39 kB / 383.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.593e-06/0.008571, allocations: 3.938 kB / 383.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001706/0.008741, allocations: 61.83 kB / 383.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.116e-05/0.008772, allocations: 51.41 kB / 383.3 MB, free: 13.42 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.008904, allocations: 201.8 kB / 383.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.008916, allocations: 25.7 kB / 383.5 MB, free: 13.17 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.471e-05/0.009011, allocations: 190.4 kB / 383.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.66e-05/0.009028, allocations: 15.86 kB / 383.7 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.301e-05/0.009081, allocations: 35.36 kB / 383.7 MB, free: 12.92 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.00924, allocations: 0.4922 MB / 384.2 MB, free: 12.42 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.896e-05/0.009269, allocations: 11.98 kB / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.371e-05/0.009323, allocations: 54.36 kB / 384.3 MB, free: 12.33 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.222e-05/0.009415, allocations: 74.28 kB / 384.4 MB, free: 12.24 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.009418, allocations: 0 / 384.4 MB, free: 12.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001403/0.009558, allocations: 89.56 kB / 384.5 MB, free: 12.14 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.009573, allocations: 8 kB / 384.5 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.009579, allocations: 3.938 kB / 384.5 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.009593, allocations: 0 / 384.5 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.0097, allocations: 27.98 kB / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.009705, allocations: 4 kB / 384.5 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.153e-05/0.009766, allocations: 11.89 kB / 384.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.166e-06/0.009774, allocations: 4 kB / 384.5 MB, free: 12.09 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 8.464e-05/0.009859, allocations: 168.6 kB / 384.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.79e-05/0.009887, allocations: 7.953 kB / 384.7 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.933e-05/0.009916, allocations: 16.45 kB / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.009918, allocations: 0 / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-06/0.009919, allocations: 0 / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.009923, allocations: 0 / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001442/0.01007, allocations: 121.2 kB / 384.8 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.01007, allocations: 7.938 kB / 384.8 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.911e-05/0.01013, allocations: 11.98 kB / 384.8 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.01013, allocations: 0 / 384.8 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.13e-06/0.01014, allocations: 4 kB / 384.8 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.01014, allocations: 4 kB / 384.8 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.01014, allocations: 3.984 kB / 384.8 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001336/0.01027, allocations: 199.9 kB / 385 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.594e-05/0.01029, allocations: 15.83 kB / 385.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.0103, allocations: 4 kB / 385.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.39e-05/0.01038, allocations: 8.109 kB / 385.1 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.936e-05/0.01041, allocations: 0 / 385.1 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.443e-06/0.01041, allocations: 8 kB / 385.1 MB, free: 11.46 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.237e-05/0.01047, allocations: 141.7 kB / 385.2 MB, free: 11.33 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01047, allocations: 4 kB / 385.2 MB, free: 11.32 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002543/0.01073, allocations: 31.89 kB / 385.3 MB, free: 11.29 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 8.377e-05/0.01081, allocations: 91.25 kB / 385.3 MB, free: 11.19 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.713e-05/0.01091, allocations: 43.59 kB / 385.4 MB, free: 11.14 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01091, allocations: 0 / 385.4 MB, free: 11.14 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.803e-05/0.01094, allocations: 19.67 kB / 385.4 MB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000255/0.01119, allocations: 18.38 kB / 385.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004452/0.01164, allocations: 263.4 kB / 385.7 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.949e-05/0.01169, allocations: 63.34 kB / 385.7 MB, free: 10.74 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.186e-05/0.01173, allocations: 4 kB / 385.7 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.557e-05/0.0118, allocations: 70.2 kB / 385.8 MB, free: 10.66 MB / 362.7 MB Notification: Performance of SimCode: time 8.52e-07/0.0118, allocations: 4 kB / 385.8 MB, free: 10.66 MB / 362.7 MB Notification: Performance of Templates: time 0.003088/0.01489, allocations: 0.7508 MB / 386.6 MB, free: 9.914 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","",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.14004652062431]