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.001186/0.001186, allocations: 104.6 kB / 17.16 MB, free: 6.316 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.001258/0.001258, allocations: 190 kB / 18.07 MB, free: 5.414 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.508/1.508, allocations: 205.1 MB / 223.9 MB, free: 12.39 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.001903/0.001904, allocations: 51.94 kB / 280 MB, free: 3.578 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1221, allocations: 46.62 MB / 326.6 MB, free: 4.887 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003014/0.1251, allocations: 2.025 MB / 328.6 MB, free: 2.84 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007326/0.1259, allocations: 0.5386 MB / 329.2 MB, free: 2.293 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.117e-05/0.126, allocations: 0 / 329.2 MB, free: 2.293 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001099/0.1261, allocations: 19.86 kB / 329.2 MB, free: 2.273 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 6.922e-05/0.1262, allocations: 27.77 kB / 329.2 MB, free: 2.246 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001853/0.1264, allocations: 39.97 kB / 329.2 MB, free: 2.207 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001688/0.1266, allocations: 135.4 kB / 329.4 MB, free: 2.074 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001463/0.1267, allocations: 53.97 kB / 329.4 MB, free: 2.02 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.1268, allocations: 63.72 kB / 329.5 MB, free: 1.957 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.869e-05/0.1269, allocations: 63.7 kB / 329.6 MB, free: 1.895 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.552e-05/0.127, allocations: 12 kB / 329.6 MB, free: 1.883 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.816e-05/0.127, allocations: 12 kB / 329.6 MB, free: 1.871 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.982e-05/0.1271, allocations: 27.91 kB / 329.6 MB, free: 1.844 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.496e-05/0.1271, allocations: 67.66 kB / 329.7 MB, free: 1.777 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001684/0.1273, allocations: 155.7 kB / 329.8 MB, free: 1.625 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1273, allocations: 0 / 329.8 MB, free: 1.625 MB / 270.1 MB Notification: Performance of FrontEnd: time 7.11e-07/0.1273, allocations: 0 / 329.8 MB, free: 1.625 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.615e-06/0.1273, allocations: 0 / 329.8 MB, free: 1.625 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.0005542/0.1279, allocations: 447.1 kB / 330.3 MB, free: 1.141 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.1279, allocations: 8.031 kB / 330.3 MB, free: 1.133 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.159e-05/0.128, allocations: 20.69 kB / 330.3 MB, free: 1.113 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001968/0.1282, allocations: 208.1 kB / 330.5 MB, free: 0.8711 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.1282, allocations: 16.3 kB / 330.5 MB, free: 0.8555 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.208e-05/0.1282, allocations: 16.38 kB / 330.5 MB, free: 0.8398 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002757/0.1285, allocations: 149.4 kB / 330.7 MB, free: 0.6875 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.1286, allocations: 0 / 330.7 MB, free: 0.6875 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.263e-05/0.1286, allocations: 8 kB / 330.7 MB, free: 0.6797 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.1286, allocations: 8 kB / 330.7 MB, free: 0.6719 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001951/0.1288, allocations: 91.94 kB / 330.8 MB, free: 0.582 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007561/0.1296, allocations: 0.5288 MB / 331.3 MB, free: 15.99 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001673/0.1297, allocations: 82.48 kB / 331.4 MB, free: 15.91 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.677e-05/0.1298, allocations: 24.84 kB / 331.4 MB, free: 15.88 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.607e-05/0.1298, allocations: 0 / 331.4 MB, free: 15.88 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.1299, allocations: 42.69 kB / 331.4 MB, free: 15.83 MB / 286.1 MB Notification: Performance of pre-optimization done (n=9): time 8.91e-07/0.1299, allocations: 4 kB / 331.5 MB, free: 15.82 MB / 286.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009465/0.1308, allocations: 0.5904 MB / 332 MB, free: 15.14 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.4e-05/0.1309, allocations: 55.34 kB / 332.1 MB, free: 15.07 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.131, allocations: 129.8 kB / 332.2 MB, free: 14.94 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.131, allocations: 30.73 kB / 332.3 MB, free: 14.9 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.217e-05/0.1311, allocations: 132 kB / 332.4 MB, free: 14.77 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.008e-05/0.1311, allocations: 39.41 kB / 332.4 MB, free: 14.73 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.937e-05/0.1312, allocations: 37.61 kB / 332.5 MB, free: 14.69 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.1313, allocations: 322.8 kB / 332.8 MB, free: 14.36 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.631e-05/0.1314, allocations: 31.98 kB / 332.8 MB, free: 14.33 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001165/0.1315, allocations: 94.73 kB / 332.9 MB, free: 14.21 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001936/0.1317, allocations: 130.7 kB / 333 MB, free: 14.06 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1317, allocations: 0 / 333 MB, free: 14.06 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002519/0.132, allocations: 157.4 kB / 333.2 MB, free: 13.9 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.132, allocations: 4 kB / 333.2 MB, free: 13.9 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.132, allocations: 4 kB / 333.2 MB, free: 13.89 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.1321, allocations: 192 / 333.2 MB, free: 13.89 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000163/0.1322, allocations: 39.92 kB / 333.2 MB, free: 13.86 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.1322, allocations: 7.938 kB / 333.2 MB, free: 13.85 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.002e-05/0.1323, allocations: 8 kB / 333.2 MB, free: 13.84 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.1323, allocations: 11.98 kB / 333.3 MB, free: 13.83 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 8.969e-05/0.1324, allocations: 125.8 kB / 333.4 MB, free: 13.7 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.138e-05/0.1325, allocations: 7.906 kB / 333.4 MB, free: 13.69 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.583e-05/0.1325, allocations: 16.41 kB / 333.4 MB, free: 13.67 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1325, allocations: 0 / 333.4 MB, free: 13.67 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.1325, allocations: 11.94 kB / 333.4 MB, free: 13.66 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.1325, allocations: 0 / 333.4 MB, free: 13.66 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005207/0.1331, allocations: 447.9 kB / 333.8 MB, free: 13.16 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1331, allocations: 0 / 333.8 MB, free: 13.16 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001314/0.1332, allocations: 23.98 kB / 333.9 MB, free: 13.14 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1332, allocations: 4.062 kB / 333.9 MB, free: 13.13 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.1332, allocations: 8 kB / 333.9 MB, free: 13.12 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1333, allocations: 0 / 333.9 MB, free: 13.12 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.281e-06/0.1333, allocations: 3.984 kB / 333.9 MB, free: 13.12 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003152/0.1336, allocations: 249.1 kB / 334.1 MB, free: 12.86 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.354e-05/0.1336, allocations: 93.05 kB / 334.2 MB, free: 12.75 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.1337, allocations: 4 kB / 334.2 MB, free: 12.74 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.497e-05/0.1338, allocations: 7.984 kB / 334.2 MB, free: 12.73 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.91e-05/0.1338, allocations: 4 kB / 334.2 MB, free: 12.73 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.1338, allocations: 4 kB / 334.2 MB, free: 12.73 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.269e-05/0.1339, allocations: 104.4 kB / 334.3 MB, free: 12.62 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1339, allocations: 0 / 334.3 MB, free: 12.62 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002731/0.1342, allocations: 24 kB / 334.4 MB, free: 12.6 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.0001044/0.1343, allocations: 103.2 kB / 334.5 MB, free: 12.49 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002323/0.1345, allocations: 91.78 kB / 334.6 MB, free: 12.4 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1345, allocations: 0 / 334.6 MB, free: 12.4 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 7.856e-05/0.1346, allocations: 43.91 kB / 334.6 MB, free: 12.36 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003566/0.135, allocations: 16.16 kB / 334.6 MB, free: 12.34 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007672/0.1358, allocations: 489.7 kB / 335.1 MB, free: 11.83 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003637/0.1361, allocations: 0.7121 MB / 335.8 MB, free: 11.09 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.333e-05/0.1362, allocations: 8.891 kB / 335.8 MB, free: 11.09 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.533e-05/0.1362, allocations: 15.44 kB / 335.8 MB, free: 11.07 MB / 286.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1362, allocations: 0 / 335.8 MB, free: 11.07 MB / 286.1 MB Notification: Performance of Templates: time 0.003346/0.1396, allocations: 0.7931 MB / 336.6 MB, free: 10.28 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