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.0009173/0.0009172, allocations: 99.27 kB / 17.3 MB, free: 5.984 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.001064/0.001064, allocations: 180.2 kB / 18.21 MB, free: 5.398 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.542/1.542, allocations: 205.4 MB / 224.4 MB, free: 13.05 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.0005159/0.0005159, allocations: 16 kB / 281.4 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1317, allocations: 47.56 MB / 328.9 MB, free: 3.777 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.0024/0.1342, allocations: 1.678 MB / 330.6 MB, free: 2.082 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001174/0.1354, allocations: 0.5308 MB / 331.2 MB, free: 1.543 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001301/0.1356, allocations: 0 / 331.2 MB, free: 1.543 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000115/0.1357, allocations: 19.86 kB / 331.2 MB, free: 1.523 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.245e-05/0.1358, allocations: 27.77 kB / 331.2 MB, free: 1.496 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002238/0.136, allocations: 39.91 kB / 331.2 MB, free: 1.457 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002132/0.1362, allocations: 135.5 kB / 331.4 MB, free: 1.324 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002023/0.1364, allocations: 61.94 kB / 331.4 MB, free: 1.262 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/0.1366, allocations: 47.8 kB / 331.5 MB, free: 1.215 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/0.1367, allocations: 63.7 kB / 331.5 MB, free: 1.152 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.228e-05/0.1368, allocations: 8 kB / 331.5 MB, free: 1.145 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.351e-05/0.1368, allocations: 8 kB / 331.6 MB, free: 1.137 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.606e-05/0.1368, allocations: 23.91 kB / 331.6 MB, free: 1.113 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.221e-05/0.1369, allocations: 85.38 kB / 331.7 MB, free: 1.023 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000204/0.1371, allocations: 155.6 kB / 331.8 MB, free: 0.8711 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.1372, allocations: 0 / 331.8 MB, free: 0.8711 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.885e-06/0.1372, allocations: 0 / 331.8 MB, free: 0.8711 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.1372, allocations: 0 / 331.8 MB, free: 0.8711 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.0006816/0.1379, allocations: 419.1 kB / 332.2 MB, free: 424 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.604e-05/0.1379, allocations: 8.031 kB / 332.2 MB, free: 416 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.977e-05/0.138, allocations: 12.84 kB / 332.2 MB, free: 404 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003044/0.1383, allocations: 204.1 kB / 332.4 MB, free: 160 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.1383, allocations: 12.31 kB / 332.5 MB, free: 148 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.062e-05/0.1384, allocations: 24.31 kB / 332.5 MB, free: 124 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004087/0.1388, allocations: 145.4 kB / 332.6 MB, free: 15.97 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.662e-05/0.1389, allocations: 7.891 kB / 332.6 MB, free: 15.96 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.484e-05/0.1389, allocations: 12 kB / 332.6 MB, free: 15.95 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.68e-05/0.1389, allocations: 8 kB / 332.6 MB, free: 15.95 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002139/0.1391, allocations: 91.89 kB / 332.7 MB, free: 15.86 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008968/0.14, allocations: 0.5405 MB / 333.3 MB, free: 15.26 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/0.1402, allocations: 78.72 kB / 333.4 MB, free: 15.17 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.689e-05/0.1403, allocations: 40.78 kB / 333.4 MB, free: 15.13 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/0.1403, allocations: 0 / 333.4 MB, free: 15.13 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.1404, allocations: 34.56 kB / 333.4 MB, free: 15.09 MB / 286.1 MB Notification: Performance of pre-optimization done (n=9): time 1.323e-06/0.1404, allocations: 0 / 333.4 MB, free: 15.09 MB / 286.1 MB Notification: Performance of matching and sorting (n=11): time 0.001059/0.1414, allocations: 0.6062 MB / 334 MB, free: 14.39 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.666e-05/0.1415, allocations: 55.34 kB / 334.1 MB, free: 14.32 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.1416, allocations: 129.8 kB / 334.2 MB, free: 14.18 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.1417, allocations: 29.7 kB / 334.2 MB, free: 14.15 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.61e-05/0.1417, allocations: 140.9 kB / 334.4 MB, free: 14.01 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.525e-05/0.1418, allocations: 39.39 kB / 334.4 MB, free: 13.97 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.337e-05/0.1418, allocations: 25.66 kB / 334.4 MB, free: 13.94 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.1419, allocations: 322.8 kB / 334.8 MB, free: 13.61 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.751e-05/0.142, allocations: 31.98 kB / 334.8 MB, free: 13.58 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001144/0.1422, allocations: 90.8 kB / 334.9 MB, free: 13.47 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001985/0.1424, allocations: 134.7 kB / 335 MB, free: 13.31 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1424, allocations: 0 / 335 MB, free: 13.31 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002717/0.1426, allocations: 157.4 kB / 335.2 MB, free: 13.15 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.1427, allocations: 8.188 kB / 335.2 MB, free: 13.14 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.1427, allocations: 4 kB / 335.2 MB, free: 13.14 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.1427, allocations: 4 kB / 335.2 MB, free: 13.14 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001604/0.1429, allocations: 39.92 kB / 335.2 MB, free: 13.1 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.1429, allocations: 7.938 kB / 335.2 MB, free: 13.09 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.116e-05/0.143, allocations: 4 kB / 335.2 MB, free: 13.09 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.764e-05/0.143, allocations: 15.98 kB / 335.2 MB, free: 13.07 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.0001107/0.1431, allocations: 125.8 kB / 335.4 MB, free: 12.94 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.113e-05/0.1432, allocations: 11.91 kB / 335.4 MB, free: 12.93 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.053e-05/0.1432, allocations: 12.38 kB / 335.4 MB, free: 12.91 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.1432, allocations: 4 kB / 335.4 MB, free: 12.91 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/0.1432, allocations: 3.938 kB / 335.4 MB, free: 12.91 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.1432, allocations: 0 / 335.4 MB, free: 12.91 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005685/0.1438, allocations: 451.9 kB / 335.8 MB, free: 12.4 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1438, allocations: 0 / 335.8 MB, free: 12.4 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001277/0.144, allocations: 23.98 kB / 335.9 MB, free: 12.38 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.144, allocations: 4 kB / 335.9 MB, free: 12.38 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.144, allocations: 0 / 335.9 MB, free: 12.38 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-06/0.144, allocations: 3.984 kB / 335.9 MB, free: 12.37 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.506e-06/0.144, allocations: 11.92 kB / 335.9 MB, free: 12.36 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003522/0.1444, allocations: 257.3 kB / 336.1 MB, free: 12.09 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.365e-05/0.1444, allocations: 85.05 kB / 336.2 MB, free: 11.98 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.089e-05/0.1445, allocations: 7.938 kB / 336.2 MB, free: 11.98 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.314e-05/0.1445, allocations: 7.984 kB / 336.2 MB, free: 11.97 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.934e-05/0.1446, allocations: 8.062 kB / 336.2 MB, free: 11.96 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-06/0.1446, allocations: 8 kB / 336.3 MB, free: 11.95 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.224e-05/0.1447, allocations: 104.5 kB / 336.4 MB, free: 11.85 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1447, allocations: 0 / 336.4 MB, free: 11.85 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002638/0.145, allocations: 24 kB / 336.4 MB, free: 11.83 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.0001249/0.1451, allocations: 99.25 kB / 336.5 MB, free: 11.72 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002344/0.1453, allocations: 91.91 kB / 336.6 MB, free: 11.63 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1453, allocations: 0 / 336.6 MB, free: 11.63 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 8.862e-05/0.1454, allocations: 43.92 kB / 336.6 MB, free: 11.59 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003501/0.1458, allocations: 15.92 kB / 336.6 MB, free: 11.57 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008498/0.1467, allocations: 0.5428 MB / 337.2 MB, free: 11 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004271/0.1471, allocations: 0.7082 MB / 337.9 MB, free: 10.27 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.011e-05/0.1472, allocations: 16.88 kB / 337.9 MB, free: 10.25 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.323e-05/0.1472, allocations: 11.44 kB / 337.9 MB, free: 10.23 MB / 286.1 MB Notification: Performance of SimCode: time 7.01e-07/0.1472, allocations: 0 / 337.9 MB, free: 10.23 MB / 286.1 MB Notification: Performance of Templates: time 0.003402/0.1506, allocations: 0.7855 MB / 338.7 MB, free: 9.449 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