Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.Sensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass.s|mass.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors") translateModel(Modelica.Mechanics.Translational.Examples.Sensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass.s|mass.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001536/0.001536, allocations: 114.2 kB / 17.28 MB, free: 6.199 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001921/0.001921, allocations: 185.3 kB / 18.2 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.514/1.514, allocations: 205.1 MB / 224.1 MB, free: 12.42 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001585/0.001586, allocations: 48.14 kB / 280.1 MB, free: 3.488 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.124, allocations: 46.63 MB / 326.8 MB, free: 4.793 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.00395/0.128, allocations: 2.017 MB / 328.8 MB, free: 2.754 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009135/0.1289, allocations: 0.5347 MB / 329.3 MB, free: 2.211 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001082/0.129, allocations: 4 kB / 329.3 MB, free: 2.207 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001393/0.1292, allocations: 19.84 kB / 329.4 MB, free: 2.188 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.507e-05/0.1293, allocations: 31.77 kB / 329.4 MB, free: 2.156 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002124/0.1295, allocations: 27.98 kB / 329.4 MB, free: 2.129 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001964/0.1297, allocations: 147.4 kB / 329.6 MB, free: 1.984 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001826/0.1299, allocations: 77.5 kB / 329.6 MB, free: 1.91 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.13, allocations: 55.84 kB / 329.7 MB, free: 1.855 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001069/0.1301, allocations: 75.62 kB / 329.8 MB, free: 1.781 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.227e-05/0.1302, allocations: 12 kB / 329.8 MB, free: 1.77 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.627e-05/0.1302, allocations: 16 kB / 329.8 MB, free: 1.754 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.9e-05/0.1303, allocations: 35.86 kB / 329.8 MB, free: 1.719 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.185e-05/0.1303, allocations: 71.66 kB / 329.9 MB, free: 1.648 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001965/0.1305, allocations: 167.7 kB / 330.1 MB, free: 1.484 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1305, allocations: 0 / 330.1 MB, free: 1.484 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1305, allocations: 0 / 330.1 MB, free: 1.484 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.401e-06/0.1306, allocations: 0 / 330.1 MB, free: 1.484 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0006405/0.1312, allocations: 439 kB / 330.5 MB, free: 1.008 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.1313, allocations: 12.03 kB / 330.5 MB, free: 0.9961 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.754e-05/0.1313, allocations: 20.73 kB / 330.5 MB, free: 0.9766 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002203/0.1315, allocations: 200.1 kB / 330.7 MB, free: 0.7422 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.832e-05/0.1316, allocations: 12.38 kB / 330.7 MB, free: 0.7305 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.501e-05/0.1316, allocations: 20.36 kB / 330.7 MB, free: 0.7109 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002938/0.1319, allocations: 145.4 kB / 330.9 MB, free: 0.5625 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/0.1319, allocations: 0 / 330.9 MB, free: 0.5625 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.471e-05/0.132, allocations: 8 kB / 330.9 MB, free: 0.5547 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.132, allocations: 4 kB / 330.9 MB, free: 0.5508 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001953/0.1322, allocations: 87.94 kB / 331 MB, free: 476 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008821/0.1331, allocations: 0.5365 MB / 331.5 MB, free: 15.87 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001719/0.1333, allocations: 86.47 kB / 331.6 MB, free: 15.78 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.7e-05/0.1333, allocations: 28.84 kB / 331.6 MB, free: 15.75 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.1334, allocations: 4 kB / 331.6 MB, free: 15.74 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.1334, allocations: 30.56 kB / 331.7 MB, free: 15.7 MB / 286.1 MB Notification: Performance of pre-optimization done (n=9): time 1.032e-06/0.1334, allocations: 0 / 331.7 MB, free: 15.7 MB / 286.1 MB Notification: Performance of matching and sorting (n=11): time 0.000992/0.1344, allocations: 0.5989 MB / 332.3 MB, free: 15.01 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.791e-05/0.1344, allocations: 63.33 kB / 332.3 MB, free: 14.94 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.915e-05/0.1346, allocations: 117.8 kB / 332.4 MB, free: 14.81 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.1346, allocations: 33.7 kB / 332.5 MB, free: 14.77 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.899e-05/0.1347, allocations: 135.9 kB / 332.6 MB, free: 14.63 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.317e-05/0.1347, allocations: 43.39 kB / 332.6 MB, free: 14.59 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.361e-05/0.1348, allocations: 37.61 kB / 332.7 MB, free: 14.55 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.1349, allocations: 318.8 kB / 333 MB, free: 14.23 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.355e-05/0.135, allocations: 35.97 kB / 333 MB, free: 14.19 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.889e-05/0.1351, allocations: 82.8 kB / 333.1 MB, free: 14.09 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001871/0.1353, allocations: 134.7 kB / 333.2 MB, free: 13.93 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1353, allocations: 4 kB / 333.2 MB, free: 13.93 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002504/0.1355, allocations: 153.4 kB / 333.4 MB, free: 13.77 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.1356, allocations: 4 kB / 333.4 MB, free: 13.77 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.505e-06/0.1356, allocations: 4 kB / 333.4 MB, free: 13.76 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.1356, allocations: 4 kB / 333.4 MB, free: 13.76 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001532/0.1358, allocations: 40.09 kB / 333.5 MB, free: 13.72 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.1358, allocations: 7.938 kB / 333.5 MB, free: 13.71 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.7e-05/0.1359, allocations: 8.562 kB / 333.5 MB, free: 13.7 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.282e-05/0.1359, allocations: 8 kB / 333.5 MB, free: 13.7 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (19): * Single equations (assignments): 19 * 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.0001003/0.136, allocations: 125.8 kB / 333.6 MB, free: 13.56 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.755e-05/0.136, allocations: 7.906 kB / 333.6 MB, free: 13.55 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.007e-05/0.1361, allocations: 16.36 kB / 333.6 MB, free: 13.54 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/0.1361, allocations: 4 kB / 333.6 MB, free: 13.54 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.373e-06/0.1361, allocations: 7.875 kB / 333.6 MB, free: 13.53 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1361, allocations: 4 kB / 333.6 MB, free: 13.52 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005051/0.1366, allocations: 443.9 kB / 334.1 MB, free: 13.03 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1366, allocations: 0 / 334.1 MB, free: 13.03 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001385/0.1368, allocations: 27.92 kB / 334.1 MB, free: 13 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1368, allocations: 0 / 334.1 MB, free: 13 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.1368, allocations: 4.062 kB / 334.1 MB, free: 13 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1368, allocations: 4 kB / 334.1 MB, free: 12.99 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1368, allocations: 0 / 334.1 MB, free: 12.99 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003205/0.1371, allocations: 253 kB / 334.4 MB, free: 12.72 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.069e-05/0.1372, allocations: 85.05 kB / 334.4 MB, free: 12.62 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.258e-05/0.1372, allocations: 8.062 kB / 334.4 MB, free: 12.61 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.969e-05/0.1373, allocations: 4 kB / 334.4 MB, free: 12.61 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.056e-05/0.1374, allocations: 11.92 kB / 334.5 MB, free: 12.6 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.1374, allocations: 4 kB / 334.5 MB, free: 12.59 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.973e-05/0.1374, allocations: 101.1 kB / 334.6 MB, free: 12.5 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1375, allocations: 0 / 334.6 MB, free: 12.5 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002704/0.1377, allocations: 24 kB / 334.6 MB, free: 12.47 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (mass.s,mass.v) * 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 (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 Backend phase and start with SimCode phase: time 0.0001236/0.1379, allocations: 95.25 kB / 334.7 MB, free: 12.37 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002347/0.1381, allocations: 99.83 kB / 334.8 MB, free: 12.27 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.1381, allocations: 0 / 334.8 MB, free: 12.27 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 7.685e-05/0.1382, allocations: 39.92 kB / 334.8 MB, free: 12.23 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003594/0.1386, allocations: 19.92 kB / 334.8 MB, free: 12.21 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007685/0.1393, allocations: 492.5 kB / 335.3 MB, free: 11.7 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002832/0.1396, allocations: 0.708 MB / 336 MB, free: 10.96 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.403e-05/0.1397, allocations: 16.88 kB / 336 MB, free: 10.95 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.44e-05/0.1398, allocations: 11.44 kB / 336 MB, free: 10.94 MB / 286.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1398, allocations: 0 / 336 MB, free: 10.94 MB / 286.1 MB Notification: Performance of Templates: time 0.003325/0.1431, allocations: 0.8382 MB / 336.9 MB, free: 10.1 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Sensors/Sensors.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches