Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.0008408/0.0008408, allocations: 93.66 kB / 16.3 MB, free: 6.457 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.0008355/0.0008355, allocations: 184.9 kB / 17.2 MB, free: 6.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 223.2 MB / 241.1 MB, free: 5.359 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002343/0.0002343, allocations: 9.609 kB / 300.7 MB, free: 6.016 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1008, allocations: 50.42 MB / 351.1 MB, free: 11.69 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.001984/0.1028, allocations: 1.594 MB / 352.7 MB, free: 10.08 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007041/0.1036, allocations: 491.1 kB / 353.2 MB, free: 9.598 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.64e-05/0.1037, allocations: 4 kB / 353.2 MB, free: 9.594 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.523e-05/0.1037, allocations: 7.922 kB / 353.2 MB, free: 9.586 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001021/0.1038, allocations: 43.78 kB / 353.3 MB, free: 9.543 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001594/0.104, allocations: 31.97 kB / 353.3 MB, free: 9.512 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001656/0.1042, allocations: 95.81 kB / 353.4 MB, free: 9.418 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001602/0.1043, allocations: 61.98 kB / 353.4 MB, free: 9.355 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.292e-05/0.1044, allocations: 55.78 kB / 353.5 MB, free: 9.301 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.571e-05/0.1045, allocations: 51.77 kB / 353.6 MB, free: 9.25 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/0.1046, allocations: 8 kB / 353.6 MB, free: 9.242 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.187e-05/0.1046, allocations: 8 kB / 353.6 MB, free: 9.234 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.578e-05/0.1046, allocations: 23.91 kB / 353.6 MB, free: 9.211 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.006e-05/0.1047, allocations: 53.64 kB / 353.6 MB, free: 9.152 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000131/0.1048, allocations: 119.7 kB / 353.8 MB, free: 9.035 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.1048, allocations: 0 / 353.8 MB, free: 9.035 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1048, allocations: 0 / 353.8 MB, free: 9.035 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.1048, allocations: 0 / 353.8 MB, free: 9.035 MB / 286.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.0005226/0.1054, allocations: 422.8 kB / 354.2 MB, free: 8.574 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.1054, allocations: 8.031 kB / 354.2 MB, free: 8.566 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.435e-05/0.1055, allocations: 23.77 kB / 354.2 MB, free: 8.543 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001955/0.1057, allocations: 198.9 kB / 354.4 MB, free: 8.309 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.1057, allocations: 8 kB / 354.4 MB, free: 8.301 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.534e-05/0.1057, allocations: 19.91 kB / 354.4 MB, free: 8.281 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002698/0.106, allocations: 133.6 kB / 354.6 MB, free: 8.145 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.106, allocations: 4 kB / 354.6 MB, free: 8.141 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.106, allocations: 4 kB / 354.6 MB, free: 8.137 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.1061, allocations: 7.953 kB / 354.6 MB, free: 8.129 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001991/0.1063, allocations: 99.69 kB / 354.7 MB, free: 8.031 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000737/0.107, allocations: 0.5291 MB / 355.2 MB, free: 7.445 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001621/0.1072, allocations: 82.44 kB / 355.3 MB, free: 7.355 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.1072, allocations: 0 / 355.3 MB, free: 7.355 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.795e-05/0.1073, allocations: 34.56 kB / 355.3 MB, free: 7.312 MB / 286.1 MB Notification: Performance of pre-optimization done (n=9): time 9.52e-07/0.1073, allocations: 0 / 355.3 MB, free: 7.312 MB / 286.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009468/0.1082, allocations: 0.6104 MB / 355.9 MB, free: 6.609 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.07e-05/0.1083, allocations: 63.34 kB / 356 MB, free: 6.535 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.446e-05/0.1084, allocations: 124.4 kB / 356.1 MB, free: 6.406 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/0.1084, allocations: 33.7 kB / 356.1 MB, free: 6.367 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.018e-05/0.1085, allocations: 143.8 kB / 356.3 MB, free: 6.223 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.815e-05/0.1085, allocations: 35.45 kB / 356.3 MB, free: 6.188 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.852e-06/0.1085, allocations: 4 kB / 356.3 MB, free: 6.184 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.1087, allocations: 318.8 kB / 356.6 MB, free: 5.863 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.687e-05/0.1087, allocations: 35.97 kB / 356.7 MB, free: 5.828 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.1088, allocations: 89.91 kB / 356.8 MB, free: 5.719 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.921e-05/0.109, allocations: 51.92 kB / 356.8 MB, free: 5.668 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.109, allocations: 0 / 356.8 MB, free: 5.668 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002466/0.1092, allocations: 153.4 kB / 357 MB, free: 5.512 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.1092, allocations: 4.188 kB / 357 MB, free: 5.508 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.1093, allocations: 8 kB / 357 MB, free: 5.5 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.1093, allocations: 0 / 357 MB, free: 5.5 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001621/0.1094, allocations: 44.75 kB / 357 MB, free: 5.457 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.1095, allocations: 4 kB / 357 MB, free: 5.453 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.893e-05/0.1095, allocations: 8 kB / 357 MB, free: 5.445 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.1095, allocations: 4 kB / 357 MB, free: 5.441 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 8.614e-05/0.1096, allocations: 129.8 kB / 357.1 MB, free: 5.305 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.832e-05/0.1097, allocations: 7.906 kB / 357.2 MB, free: 5.297 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.436e-05/0.1097, allocations: 20.3 kB / 357.2 MB, free: 5.273 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1097, allocations: 4 kB / 357.2 MB, free: 5.27 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1097, allocations: 0 / 357.2 MB, free: 5.27 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1097, allocations: 3.938 kB / 357.2 MB, free: 5.266 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005195/0.1103, allocations: 452 kB / 357.6 MB, free: 4.762 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.1103, allocations: 0 / 357.6 MB, free: 4.762 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001337/0.1104, allocations: 27.98 kB / 357.7 MB, free: 4.734 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.1104, allocations: 0 / 357.7 MB, free: 4.734 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.1104, allocations: 4 kB / 357.7 MB, free: 4.73 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.1105, allocations: 4 kB / 357.7 MB, free: 4.727 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1105, allocations: 3.938 kB / 357.7 MB, free: 4.723 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003422/0.1108, allocations: 280.5 kB / 357.9 MB, free: 4.414 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.229e-05/0.1109, allocations: 85.05 kB / 358 MB, free: 4.312 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/0.1109, allocations: 3.953 kB / 358 MB, free: 4.309 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.216e-05/0.111, allocations: 12.06 kB / 358 MB, free: 4.297 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.824e-05/0.111, allocations: 11.98 kB / 358 MB, free: 4.285 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.111, allocations: 4 kB / 358.1 MB, free: 4.281 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.673e-05/0.1111, allocations: 95.27 kB / 358.1 MB, free: 4.188 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1111, allocations: 0 / 358.1 MB, free: 4.188 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002552/0.1114, allocations: 24 kB / 358.2 MB, free: 4.164 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.0001146/0.1115, allocations: 107.1 kB / 358.3 MB, free: 4.051 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002294/0.1117, allocations: 99.77 kB / 358.4 MB, free: 3.953 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1117, allocations: 0 / 358.4 MB, free: 3.953 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 7.712e-05/0.1118, allocations: 43.92 kB / 358.4 MB, free: 3.91 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002426/0.1121, allocations: 11.91 kB / 358.4 MB, free: 3.898 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007334/0.1128, allocations: 0.5157 MB / 358.9 MB, free: 3.352 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002693/0.1131, allocations: 0.716 MB / 359.7 MB, free: 2.609 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.3e-05/0.1131, allocations: 8.891 kB / 359.7 MB, free: 2.598 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.326e-05/0.1132, allocations: 15.91 kB / 359.7 MB, free: 2.582 MB / 286.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1132, allocations: 0 / 359.7 MB, free: 2.582 MB / 286.1 MB Notification: Performance of Templates: time 0.002923/0.1161, allocations: 0.7608 MB / 360.4 MB, free: 1.824 MB / 286.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Sensors/Sensors.csv","../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches