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.001665/0.001665, allocations: 83.58 kB / 21.19 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.002148/0.002148, allocations: 161 kB / 24.56 MB, free: 20 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.118/1.118, allocations: 177.1 MB / 205 MB, free: 5.602 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.3438/0.3438, allocations: 32.8 MB / 294.3 MB, free: 0.7109 MB / 266.7 MB " [Timeout remaining time 180] 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.467e-06/3.467e-06, allocations: 0 / 376 MB, free: 4.543 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.556e-05/5.903e-05, allocations: 9.484 kB / 376 MB, free: 4.535 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.005602/0.005661, allocations: 1.977 MB / 378 MB, free: 2.543 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001716/0.007377, allocations: 0.5881 MB / 378.6 MB, free: 1.949 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002075/0.007584, allocations: 0 / 378.6 MB, free: 1.949 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003356/0.00792, allocations: 35.72 kB / 378.6 MB, free: 1.914 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002544/0.008174, allocations: 35.64 kB / 378.6 MB, free: 1.879 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003277/0.008502, allocations: 43.94 kB / 378.7 MB, free: 1.836 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003588/0.008861, allocations: 155.4 kB / 378.8 MB, free: 1.684 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002183/0.009079, allocations: 53.7 kB / 378.9 MB, free: 1.629 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002519/0.009331, allocations: 79.86 kB / 379 MB, free: 1.551 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.009443, allocations: 47.88 kB / 379 MB, free: 1.504 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.321e-05/0.009486, allocations: 12 kB / 379 MB, free: 1.492 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.593e-05/0.009512, allocations: 23.88 kB / 379 MB, free: 1.469 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.472e-05/0.009557, allocations: 31.91 kB / 379.1 MB, free: 1.438 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.116e-05/0.009628, allocations: 43.91 kB / 379.1 MB, free: 1.395 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002691/0.009897, allocations: 103.6 kB / 379.2 MB, free: 1.293 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.009902, allocations: 4 kB / 379.2 MB, free: 1.289 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.009903, allocations: 0 / 379.2 MB, free: 1.289 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.009911, allocations: 0 / 379.2 MB, free: 1.289 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.000892/0.0108, allocations: 468.3 kB / 379.7 MB, free: 0.793 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.331e-05/0.01088, allocations: 12.03 kB / 379.7 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001152/0.01099, allocations: 24.84 kB / 379.7 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003124/0.0113, allocations: 151.2 kB / 379.9 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.489e-05/0.01133, allocations: 8.656 kB / 379.9 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.25e-05/0.01136, allocations: 16.38 kB / 379.9 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003266/0.01169, allocations: 117.2 kB / 380 MB, free: 452 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.0117, allocations: 4.188 kB / 380 MB, free: 448 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.01172, allocations: 4.375 kB / 380 MB, free: 444 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.01173, allocations: 7.938 kB / 380 MB, free: 436 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.601e-05/0.01182, allocations: 48.8 kB / 380.1 MB, free: 388 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001047/0.01287, allocations: 0.5478 MB / 380.6 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002168/0.01309, allocations: 55.06 kB / 380.7 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.184e-05/0.01313, allocations: 15.81 kB / 380.7 MB, free: 15.69 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.525e-05/0.01315, allocations: 0 / 380.7 MB, free: 15.69 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.667e-05/0.01319, allocations: 37.39 kB / 380.7 MB, free: 15.64 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.643e-06/0.01319, allocations: 4 kB / 380.7 MB, free: 15.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002724/0.01346, allocations: 61.64 kB / 380.8 MB, free: 15.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.57e-05/0.01351, allocations: 51.41 kB / 380.8 MB, free: 15.51 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001745/0.01368, allocations: 212.7 kB / 381 MB, free: 15.29 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.0137, allocations: 29.64 kB / 381.1 MB, free: 15.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.01382, allocations: 182.5 kB / 381.2 MB, free: 15.07 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.139e-05/0.01384, allocations: 23.84 kB / 381.3 MB, free: 15.05 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.942e-05/0.01389, allocations: 23.38 kB / 381.3 MB, free: 15.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000181/0.01407, allocations: 0.4961 MB / 381.8 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.673e-05/0.01411, allocations: 19.92 kB / 381.8 MB, free: 14.49 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.487e-05/0.01418, allocations: 54.44 kB / 381.9 MB, free: 14.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.775e-05/0.01426, allocations: 74.36 kB / 381.9 MB, free: 14.32 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.01426, allocations: 0 / 381.9 MB, free: 14.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001434/0.0144, allocations: 89.52 kB / 382 MB, free: 14.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.01442, allocations: 4 kB / 382 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.01443, allocations: 0 / 382 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.262e-05/0.01445, allocations: 8.125 kB / 382 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.01459, allocations: 19.98 kB / 382.1 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.0146, allocations: 4 kB / 382.1 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.452e-05/0.01467, allocations: 19.88 kB / 382.1 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.01469, allocations: 4 kB / 382.1 MB, free: 14.17 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.0001178/0.0148, allocations: 168.5 kB / 382.2 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.82e-05/0.01484, allocations: 8.203 kB / 382.3 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.954e-05/0.01488, allocations: 12.47 kB / 382.3 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.01489, allocations: 0 / 382.3 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.737e-06/0.01489, allocations: 11.98 kB / 382.3 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.0149, allocations: 0 / 382.3 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002147/0.01511, allocations: 148.5 kB / 382.4 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.01512, allocations: 0 / 382.4 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.369e-05/0.0152, allocations: 23.97 kB / 382.4 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.01521, allocations: 0 / 382.4 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.01522, allocations: 0 / 382.4 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.01522, allocations: 80 / 382.4 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.808e-06/0.01522, allocations: 3.984 kB / 382.5 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002175/0.01544, allocations: 211.8 kB / 382.7 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.521e-05/0.01547, allocations: 7.953 kB / 382.7 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/0.01549, allocations: 4 kB / 382.7 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.334e-05/0.01557, allocations: 7.984 kB / 382.7 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.856e-05/0.01562, allocations: 0 / 382.7 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.479e-06/0.01562, allocations: 0 / 382.7 MB, free: 13.51 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.445e-05/0.01572, allocations: 155.1 kB / 382.8 MB, free: 13.36 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01572, allocations: 0 / 382.8 MB, free: 13.36 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002887/0.01601, allocations: 27.89 kB / 382.9 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.0001341/0.01614, allocations: 95.25 kB / 382.9 MB, free: 13.23 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001826/0.01632, allocations: 43.8 kB / 383 MB, free: 13.18 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.01633, allocations: 4.062 kB / 383 MB, free: 13.18 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.653e-05/0.01637, allocations: 23.61 kB / 383 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.0003186/0.01669, allocations: 11.94 kB / 383 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006342/0.01733, allocations: 251.2 kB / 383.3 MB, free: 12.86 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.857e-05/0.01739, allocations: 71.33 kB / 383.3 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.248e-05/0.01744, allocations: 7.938 kB / 383.4 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.391e-05/0.01748, allocations: 12.5 kB / 383.4 MB, free: 12.75 MB / 362.7 MB Notification: Performance of SimCode: time 1.052e-06/0.01748, allocations: 0 / 383.4 MB, free: 12.75 MB / 362.7 MB Notification: Performance of Templates: time 0.003802/0.02128, allocations: 0.7174 MB / 384.1 MB, free: 12.04 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.631600327324122]