Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.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.001812/0.001812, allocations: 92.97 kB / 20.21 MB, free: 4.207 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.002083/0.002083, allocations: 169.2 kB / 23.53 MB, free: 0.8945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.527/1.527, allocations: 158.6 MB / 185.3 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2368/0.2368, allocations: 32.37 MB / 270 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.FluxTubes.Sensors,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors") translateModel(ModelicaTest.FluxTubes.Sensors,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 346.9 MB, free: 9.832 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.405e-05/2.524e-05, allocations: 2.312 kB / 346.9 MB, free: 9.828 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sensors): time 0.002416/0.002442, allocations: 1.875 MB / 348.8 MB, free: 7.941 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008149/0.003257, allocations: 0.5891 MB / 349.4 MB, free: 7.344 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.137e-05/0.003348, allocations: 4 kB / 349.4 MB, free: 7.34 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001792/0.003527, allocations: 31.73 kB / 349.4 MB, free: 7.309 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001093/0.003636, allocations: 39.69 kB / 349.4 MB, free: 7.27 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001479/0.003784, allocations: 51.81 kB / 349.5 MB, free: 7.219 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001431/0.003928, allocations: 143.4 kB / 349.6 MB, free: 7.078 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.004048, allocations: 45.66 kB / 349.7 MB, free: 7.031 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000152/0.0042, allocations: 91.78 kB / 349.8 MB, free: 6.941 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.877e-05/0.004269, allocations: 43.88 kB / 349.8 MB, free: 6.898 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.584e-05/0.004294, allocations: 12 kB / 349.8 MB, free: 6.887 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.148e-05/0.004316, allocations: 16 kB / 349.8 MB, free: 6.871 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.487e-05/0.004341, allocations: 35.84 kB / 349.9 MB, free: 6.836 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.484e-05/0.004386, allocations: 47.91 kB / 349.9 MB, free: 6.789 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001731/0.004559, allocations: 159.5 kB / 350.1 MB, free: 6.633 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.004561, allocations: 3.938 kB / 350.1 MB, free: 6.629 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.004562, allocations: 0 / 350.1 MB, free: 6.629 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.004567, allocations: 0 / 350.1 MB, free: 6.629 MB / 282.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.000488/0.005055, allocations: 480 kB / 350.6 MB, free: 6.125 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.005087, allocations: 8.031 kB / 350.6 MB, free: 6.117 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.713e-05/0.005144, allocations: 32.78 kB / 350.6 MB, free: 6.086 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.005293, allocations: 148.4 kB / 350.7 MB, free: 5.914 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.005307, allocations: 12.66 kB / 350.7 MB, free: 5.902 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.929e-05/0.005327, allocations: 12.38 kB / 350.8 MB, free: 5.891 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002412/0.005568, allocations: 128.5 kB / 350.9 MB, free: 5.762 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.00558, allocations: 192 / 350.9 MB, free: 5.762 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.005596, allocations: 8.375 kB / 350.9 MB, free: 5.754 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.005603, allocations: 7.938 kB / 350.9 MB, free: 5.746 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001889/0.005792, allocations: 88.17 kB / 351 MB, free: 5.66 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007174/0.006509, allocations: 0.5827 MB / 351.6 MB, free: 5.023 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001936/0.006703, allocations: 71.06 kB / 351.6 MB, free: 4.941 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.286e-05/0.006766, allocations: 27.84 kB / 351.7 MB, free: 4.91 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.006789, allocations: 0 / 351.7 MB, free: 4.91 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.267e-05/0.006801, allocations: 37.33 kB / 351.7 MB, free: 4.863 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.363e-06/0.006803, allocations: 3.984 kB / 351.7 MB, free: 4.859 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002748/0.007078, allocations: 97.58 kB / 351.8 MB, free: 4.758 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.933e-05/0.007097, allocations: 51.41 kB / 351.9 MB, free: 4.695 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.007202, allocations: 221.1 kB / 352.1 MB, free: 4.465 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.206e-06/0.00721, allocations: 29.7 kB / 352.1 MB, free: 4.43 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.05e-05/0.00727, allocations: 186.5 kB / 352.3 MB, free: 4.242 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.262e-05/0.007283, allocations: 23.83 kB / 352.3 MB, free: 4.219 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.305e-05/0.007336, allocations: 35.33 kB / 352.3 MB, free: 4.176 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.556e-05/0.007402, allocations: 0.4961 MB / 352.8 MB, free: 3.668 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.849e-05/0.00747, allocations: 23.98 kB / 352.9 MB, free: 3.645 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.635e-05/0.007546, allocations: 78.3 kB / 352.9 MB, free: 3.547 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/0.007681, allocations: 102.3 kB / 353 MB, free: 3.426 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.007683, allocations: 0 / 353 MB, free: 3.426 MB / 282.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001886/0.007871, allocations: 121.5 kB / 353.2 MB, free: 3.301 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.007885, allocations: 7.938 kB / 353.2 MB, free: 3.293 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.007891, allocations: 4.078 kB / 353.2 MB, free: 3.289 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.007907, allocations: 0 / 353.2 MB, free: 3.289 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.008011, allocations: 24.11 kB / 353.2 MB, free: 3.266 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.008017, allocations: 7.984 kB / 353.2 MB, free: 3.258 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.078e-05/0.008088, allocations: 8 kB / 353.2 MB, free: 3.25 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.008097, allocations: 8 kB / 353.2 MB, free: 3.242 MB / 282.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 6.975e-05/0.008167, allocations: 168.5 kB / 353.4 MB, free: 3.066 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.838e-05/0.008195, allocations: 11.95 kB / 353.4 MB, free: 3.055 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.278e-05/0.008228, allocations: 16.45 kB / 353.4 MB, free: 3.039 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.008229, allocations: 0 / 353.4 MB, free: 3.039 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.008232, allocations: 0 / 353.4 MB, free: 3.039 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.008237, allocations: 0 / 353.4 MB, free: 3.039 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001389/0.008375, allocations: 176.4 kB / 353.6 MB, free: 2.832 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.008377, allocations: 256 / 353.6 MB, free: 2.832 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.944e-05/0.008446, allocations: 19.98 kB / 353.6 MB, free: 2.812 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.008448, allocations: 0 / 353.6 MB, free: 2.812 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.008456, allocations: 0 / 353.6 MB, free: 2.812 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.008457, allocations: 0 / 353.6 MB, free: 2.812 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.008458, allocations: 0 / 353.6 MB, free: 2.812 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001763/0.008634, allocations: 235.8 kB / 353.8 MB, free: 2.562 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.435e-05/0.008648, allocations: 7.953 kB / 353.8 MB, free: 2.555 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.008664, allocations: 0 / 353.8 MB, free: 2.555 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.546e-05/0.008739, allocations: 11.98 kB / 353.8 MB, free: 2.543 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.004e-05/0.008779, allocations: 0 / 353.8 MB, free: 2.543 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.008784, allocations: 8 kB / 353.9 MB, free: 2.535 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.285e-05/0.008837, allocations: 151.2 kB / 354 MB, free: 2.387 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008837, allocations: 0 / 354 MB, free: 2.387 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002316/0.009068, allocations: 27.95 kB / 354 MB, free: 2.359 MB / 282.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 7.125e-05/0.00914, allocations: 95.19 kB / 354.1 MB, free: 2.258 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002008/0.00934, allocations: 67.59 kB / 354.2 MB, free: 2.188 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.009342, allocations: 256 / 354.2 MB, free: 2.188 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.185e-05/0.009404, allocations: 39.61 kB / 354.2 MB, free: 2.145 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002398/0.009644, allocations: 13.06 kB / 354.2 MB, free: 2.133 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003921/0.01004, allocations: 254.9 kB / 354.5 MB, free: 1.855 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.715e-05/0.01009, allocations: 98.22 kB / 354.6 MB, free: 1.73 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.815e-05/0.01014, allocations: 7.984 kB / 354.6 MB, free: 1.723 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.132e-05/0.01017, allocations: 12.5 kB / 354.6 MB, free: 1.711 MB / 282.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01017, allocations: 0 / 354.6 MB, free: 1.711 MB / 282.7 MB Notification: Performance of Templates: time 0.003204/0.01338, allocations: 0.6785 MB / 355.3 MB, free: 1.035 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.sim & ./ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Sensors/Sensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.8826498601119965]