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.001021/0.001021, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.000939/0.000939, allocations: 165.4 kB / 24.56 MB, free: 16 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 0.968/0.968, allocations: 177.1 MB / 205 MB, free: 5.27 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.2781/0.2781, allocations: 34.26 MB / 295.7 MB, free: 0.7031 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.273e-06/1.273e-06, allocations: 0 / 378 MB, free: 2.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.243e-05/1.371e-05, allocations: 2.312 kB / 378 MB, free: 2.676 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.002291/0.002304, allocations: 1.983 MB / 380 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006509/0.002955, allocations: 0.5919 MB / 380.6 MB, free: 84 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.781e-05/0.003013, allocations: 4 kB / 380.6 MB, free: 80 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000112/0.003125, allocations: 35.66 kB / 380.6 MB, free: 44 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 7.919e-05/0.003204, allocations: 31.7 kB / 380.7 MB, free: 12 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001301/0.003334, allocations: 47.88 kB / 380.7 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001257/0.00346, allocations: 147.4 kB / 380.8 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.636e-05/0.003556, allocations: 53.7 kB / 380.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.458e-05/0.003651, allocations: 87.8 kB / 381 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.272e-05/0.003714, allocations: 39.89 kB / 381 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.287e-05/0.003736, allocations: 12 kB / 381 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.54e-05/0.003752, allocations: 16 kB / 381.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.712e-05/0.003779, allocations: 35.89 kB / 381.1 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.052e-05/0.00382, allocations: 47.84 kB / 381.1 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001188/0.003938, allocations: 95.66 kB / 381.2 MB, free: 15.44 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.00394, allocations: 0 / 381.2 MB, free: 15.44 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.003941, allocations: 0 / 381.2 MB, free: 15.44 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.356e-06/0.003944, allocations: 0 / 381.2 MB, free: 15.44 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.0003679/0.004312, allocations: 480.3 kB / 381.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.71e-05/0.004339, allocations: 8.031 kB / 381.7 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.997e-05/0.004379, allocations: 28.84 kB / 381.7 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.004501, allocations: 144.4 kB / 381.9 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.004513, allocations: 12.66 kB / 381.9 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.316e-05/0.004526, allocations: 12.38 kB / 381.9 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.004686, allocations: 121.1 kB / 382 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.573e-06/0.004692, allocations: 192 / 382 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.004702, allocations: 8.375 kB / 382 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.004709, allocations: 7.938 kB / 382 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.802e-05/0.004787, allocations: 48.75 kB / 382.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004983/0.005286, allocations: 0.5517 MB / 382.6 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.005389, allocations: 51.12 kB / 382.7 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.263e-05/0.005412, allocations: 15.81 kB / 382.7 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.186e-05/0.005424, allocations: 4 kB / 382.7 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.612e-05/0.00544, allocations: 33.39 kB / 382.7 MB, free: 13.78 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 9.02e-07/0.005441, allocations: 4 kB / 382.7 MB, free: 13.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001204/0.005561, allocations: 65.58 kB / 382.8 MB, free: 13.71 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.672e-05/0.005588, allocations: 55.41 kB / 382.9 MB, free: 13.64 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.56e-05/0.005683, allocations: 204.2 kB / 383.1 MB, free: 13.43 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.797e-06/0.005692, allocations: 25.7 kB / 383.1 MB, free: 13.39 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.395e-05/0.005756, allocations: 186.4 kB / 383.3 MB, free: 13.21 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.778e-06/0.005766, allocations: 15.86 kB / 383.3 MB, free: 13.19 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.118e-05/0.005797, allocations: 31.38 kB / 383.3 MB, free: 13.15 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.769e-05/0.005895, allocations: 0.4922 MB / 383.8 MB, free: 12.65 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.057e-05/0.005915, allocations: 11.98 kB / 383.8 MB, free: 12.64 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.14e-05/0.005957, allocations: 58.44 kB / 383.9 MB, free: 12.56 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.564e-05/0.006022, allocations: 78.53 kB / 383.9 MB, free: 12.46 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.006025, allocations: 4 kB / 383.9 MB, free: 12.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 9.274e-05/0.006117, allocations: 93.56 kB / 384 MB, free: 12.36 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.115e-06/0.006126, allocations: 4 kB / 384 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.00613, allocations: 4 kB / 384 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.546e-06/0.006139, allocations: 4.125 kB / 384.1 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.33e-05/0.006202, allocations: 27.92 kB / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.006206, allocations: 0 / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.109e-05/0.006247, allocations: 23.88 kB / 384.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.006253, allocations: 0 / 384.1 MB, free: 12.3 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 5.995e-05/0.006313, allocations: 164.5 kB / 384.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.586e-05/0.006329, allocations: 11.89 kB / 384.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.863e-05/0.006347, allocations: 12.47 kB / 384.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.00635, allocations: 7.922 kB / 384.3 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.006353, allocations: 4 kB / 384.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.006356, allocations: 3.984 kB / 384.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001064/0.006463, allocations: 148.5 kB / 384.4 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.006464, allocations: 0 / 384.4 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.155e-05/0.006496, allocations: 15.98 kB / 384.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.173e-06/0.006497, allocations: 0 / 384.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.2e-06/0.006502, allocations: 4 kB / 384.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.127e-06/0.006506, allocations: 0 / 384.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.006507, allocations: 0 / 384.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.66e-05/0.006604, allocations: 203.8 kB / 384.7 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.969e-06/0.006614, allocations: 11.95 kB / 384.7 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.628e-06/0.006623, allocations: 4 kB / 384.7 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.712e-05/0.00666, allocations: 4 kB / 384.7 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.473e-05/0.006685, allocations: 7.922 kB / 384.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.006687, allocations: 4 kB / 384.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.293e-05/0.00674, allocations: 151.2 kB / 384.8 MB, free: 11.49 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.00674, allocations: 0 / 384.8 MB, free: 11.49 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001528/0.006893, allocations: 27.89 kB / 384.9 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 4.853e-05/0.006942, allocations: 91.25 kB / 385 MB, free: 11.36 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.273e-05/0.007024, allocations: 47.73 kB / 385 MB, free: 11.31 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.007025, allocations: 0 / 385 MB, free: 11.31 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.219e-05/0.007048, allocations: 19.75 kB / 385 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001547/0.007202, allocations: 17.95 kB / 385 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003122/0.007515, allocations: 259.1 kB / 385.3 MB, free: 10.99 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.525e-05/0.00755, allocations: 71.45 kB / 385.4 MB, free: 10.9 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.395e-05/0.007574, allocations: 4 kB / 385.4 MB, free: 10.9 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.373e-05/0.007597, allocations: 8.5 kB / 385.4 MB, free: 10.89 MB / 362.7 MB Notification: Performance of SimCode: time 3.91e-07/0.007598, allocations: 0 / 385.4 MB, free: 10.89 MB / 362.7 MB Notification: Performance of Templates: time 0.002265/0.009862, allocations: 0.716 MB / 386.1 MB, free: 10.18 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: 2.9828043151646852]