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.001065/0.001065, allocations: 95.08 kB / 16.94 MB, free: 6.441 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.001019/0.001019, allocations: 184.6 kB / 17.83 MB, free: 6.008 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.362/1.362, allocations: 205.4 MB / 224 MB, free: 13.15 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.00046/0.0004602, allocations: 12 kB / 280.7 MB, free: 3.746 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1141, allocations: 47.58 MB / 328.3 MB, free: 4.098 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003077/0.1172, allocations: 1.59 MB / 329.9 MB, free: 2.492 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001357/0.1186, allocations: 0.5194 MB / 330.4 MB, free: 1.965 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001761/0.1189, allocations: 0 / 330.4 MB, free: 1.965 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 7.484e-05/0.119, allocations: 11.92 kB / 330.4 MB, free: 1.953 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001857/0.1192, allocations: 39.8 kB / 330.5 MB, free: 1.914 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002731/0.1194, allocations: 35.97 kB / 330.5 MB, free: 1.879 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002972/0.1198, allocations: 95.81 kB / 330.6 MB, free: 1.785 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002309/0.12, allocations: 54.14 kB / 330.7 MB, free: 1.73 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001672/0.1202, allocations: 55.77 kB / 330.7 MB, free: 1.676 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001554/0.1203, allocations: 51.78 kB / 330.8 MB, free: 1.625 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.168e-05/0.1204, allocations: 8 kB / 330.8 MB, free: 1.617 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.187e-05/0.1205, allocations: 12 kB / 330.8 MB, free: 1.605 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.398e-05/0.1205, allocations: 19.92 kB / 330.8 MB, free: 1.586 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.181e-05/0.1206, allocations: 49.64 kB / 330.9 MB, free: 1.531 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002141/0.1208, allocations: 119.9 kB / 331 MB, free: 1.414 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.1208, allocations: 0 / 331 MB, free: 1.414 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1208, allocations: 0 / 331 MB, free: 1.414 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.488e-06/0.1208, allocations: 0 / 331 MB, free: 1.414 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.0008071/0.1216, allocations: 418.9 kB / 331.4 MB, free: 0.957 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.1217, allocations: 15.97 kB / 331.4 MB, free: 0.9414 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.662e-05/0.1218, allocations: 11.91 kB / 331.4 MB, free: 0.9297 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002953/0.1221, allocations: 214.6 kB / 331.6 MB, free: 0.6797 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.1221, allocations: 12 kB / 331.6 MB, free: 0.668 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.858e-05/0.1222, allocations: 16 kB / 331.6 MB, free: 0.6523 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000376/0.1226, allocations: 137.1 kB / 331.8 MB, free: 0.5117 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.307e-05/0.1226, allocations: 4 kB / 331.8 MB, free: 0.5078 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.423e-05/0.1226, allocations: 8 kB / 331.8 MB, free: 0.5 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/0.1227, allocations: 7.984 kB / 331.8 MB, free: 0.4922 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002835/0.123, allocations: 95.94 kB / 331.9 MB, free: 408 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/0.1241, allocations: 0.5288 MB / 332.4 MB, free: 15.81 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002073/0.1243, allocations: 82.48 kB / 332.5 MB, free: 15.72 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.1243, allocations: 0 / 332.5 MB, free: 15.72 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.623e-05/0.1244, allocations: 30.56 kB / 332.5 MB, free: 15.68 MB / 286.1 MB Notification: Performance of pre-optimization done (n=9): time 1.733e-06/0.1244, allocations: 8 kB / 332.5 MB, free: 15.68 MB / 286.1 MB Notification: Performance of matching and sorting (n=11): time 0.001352/0.1258, allocations: 0.6065 MB / 333.1 MB, free: 14.98 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/0.1258, allocations: 63.34 kB / 333.2 MB, free: 14.9 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.1259, allocations: 133.4 kB / 333.3 MB, free: 14.77 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.126, allocations: 25.7 kB / 333.4 MB, free: 14.73 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.914e-05/0.126, allocations: 132 kB / 333.5 MB, free: 14.6 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.188e-05/0.1261, allocations: 51.28 kB / 333.5 MB, free: 14.55 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.765e-06/0.1261, allocations: 4 kB / 333.5 MB, free: 14.55 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.1262, allocations: 318.8 kB / 333.9 MB, free: 14.23 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.925e-05/0.1263, allocations: 35.98 kB / 333.9 MB, free: 14.19 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.1265, allocations: 82.84 kB / 334 MB, free: 14.09 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001037/0.1266, allocations: 51.92 kB / 334 MB, free: 14.04 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.1266, allocations: 4 kB / 334 MB, free: 14.03 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002626/0.1269, allocations: 153.5 kB / 334.2 MB, free: 13.88 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/0.1269, allocations: 11.95 kB / 334.2 MB, free: 13.86 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.034e-06/0.1269, allocations: 0 / 334.2 MB, free: 13.86 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.1269, allocations: 4 kB / 334.2 MB, free: 13.86 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000158/0.1271, allocations: 36.83 kB / 334.2 MB, free: 13.82 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.1271, allocations: 7.922 kB / 334.2 MB, free: 13.82 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.359e-05/0.1272, allocations: 8 kB / 334.2 MB, free: 13.81 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.1272, allocations: 8 kB / 334.3 MB, free: 13.8 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001007/0.1273, allocations: 130.2 kB / 334.4 MB, free: 13.66 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.911e-05/0.1273, allocations: 7.906 kB / 334.4 MB, free: 13.66 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.642e-05/0.1274, allocations: 12.33 kB / 334.4 MB, free: 13.64 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.1274, allocations: 4 kB / 334.4 MB, free: 13.64 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.1274, allocations: 3.984 kB / 334.4 MB, free: 13.64 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1274, allocations: 3.938 kB / 334.4 MB, free: 13.63 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005428/0.128, allocations: 448 kB / 334.8 MB, free: 13.13 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.189e-06/0.128, allocations: 0 / 334.8 MB, free: 13.13 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000133/0.1281, allocations: 27.92 kB / 334.9 MB, free: 13.11 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.1281, allocations: 4 kB / 334.9 MB, free: 13.1 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.1282, allocations: 4 kB / 334.9 MB, free: 13.1 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.1282, allocations: 0 / 334.9 MB, free: 13.1 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.1282, allocations: 4 kB / 334.9 MB, free: 13.09 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004694/0.1286, allocations: 284.5 kB / 335.2 MB, free: 12.78 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.576e-05/0.1287, allocations: 93.03 kB / 335.3 MB, free: 12.67 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.122e-05/0.1287, allocations: 8.062 kB / 335.3 MB, free: 12.66 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.464e-05/0.1288, allocations: 4 kB / 335.3 MB, free: 12.66 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.439e-05/0.1289, allocations: 11.98 kB / 335.3 MB, free: 12.65 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.946e-06/0.1289, allocations: 4 kB / 335.3 MB, free: 12.64 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.563e-05/0.129, allocations: 95.22 kB / 335.4 MB, free: 12.55 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.129, allocations: 4 kB / 335.4 MB, free: 12.55 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002688/0.1293, allocations: 24 kB / 335.4 MB, free: 12.52 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000233/0.1295, allocations: 103.2 kB / 335.5 MB, free: 12.41 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002348/0.1297, allocations: 91.83 kB / 335.6 MB, free: 12.32 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.1298, allocations: 0 / 335.6 MB, free: 12.32 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 7.938e-05/0.1298, allocations: 43.86 kB / 335.6 MB, free: 12.28 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002517/0.1301, allocations: 12.5 kB / 335.6 MB, free: 12.27 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007785/0.1309, allocations: 0.5189 MB / 336.2 MB, free: 11.72 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003809/0.1313, allocations: 0.7121 MB / 336.9 MB, free: 10.98 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.865e-05/0.1313, allocations: 17.34 kB / 336.9 MB, free: 10.96 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.951e-05/0.1314, allocations: 11.44 kB / 336.9 MB, free: 10.95 MB / 286.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1314, allocations: 0 / 336.9 MB, free: 10.95 MB / 286.1 MB Notification: Performance of Templates: time 0.003895/0.1353, allocations: 0.7687 MB / 337.7 MB, free: 10.18 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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