Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001282/0.001282, allocations: 117.2 kB / 17.33 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001329/0.001329, allocations: 205.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.431/1.431, allocations: 227.7 MB / 246.7 MB, free: 10.58 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 64.62 kB / 306.7 MB, free: 0.8398 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09064/0.09256, allocations: 50.54 MB / 357.3 MB, free: 14.28 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003223/0.09582, allocations: 2.044 MB / 359.3 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009365/0.09678, allocations: 0.5648 MB / 359.9 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.123e-05/0.09688, allocations: 4 kB / 359.9 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000117/0.097, allocations: 19.84 kB / 359.9 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.374e-05/0.09708, allocations: 27.77 kB / 359.9 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002166/0.0973, allocations: 47.95 kB / 360 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001939/0.09751, allocations: 143.5 kB / 360.1 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001654/0.09768, allocations: 81.48 kB / 360.2 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001419/0.09783, allocations: 63.73 kB / 360.3 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001183/0.09796, allocations: 67.69 kB / 360.3 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.699e-05/0.09799, allocations: 16 kB / 360.3 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.557e-05/0.09805, allocations: 23.98 kB / 360.4 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.225e-05/0.09809, allocations: 31.86 kB / 360.4 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.961e-05/0.09817, allocations: 67.67 kB / 360.5 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002183/0.09839, allocations: 179.6 kB / 360.6 MB, free: 10.89 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.0984, allocations: 0 / 360.6 MB, free: 10.89 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.09841, allocations: 0 / 360.6 MB, free: 10.89 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.09842, allocations: 0 / 360.6 MB, free: 10.89 MB / 302.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.0006116/0.09904, allocations: 435.1 kB / 361.1 MB, free: 10.41 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.095e-05/0.09908, allocations: 8.031 kB / 361.1 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001499/0.09923, allocations: 32.73 kB / 361.1 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002158/0.09946, allocations: 204.1 kB / 361.3 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.09948, allocations: 8.375 kB / 361.3 MB, free: 10.13 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.437e-05/0.09952, allocations: 20.38 kB / 361.3 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003013/0.09983, allocations: 153.6 kB / 361.5 MB, free: 9.953 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.09985, allocations: 0 / 361.5 MB, free: 9.953 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.508e-05/0.09988, allocations: 4 kB / 361.5 MB, free: 9.949 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/0.09989, allocations: 4 kB / 361.5 MB, free: 9.945 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002079/0.1001, allocations: 91.94 kB / 361.6 MB, free: 9.855 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008106/0.1009, allocations: 0.5287 MB / 362.1 MB, free: 9.27 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001646/0.1011, allocations: 78.5 kB / 362.2 MB, free: 9.184 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.225e-05/0.1012, allocations: 32.78 kB / 362.2 MB, free: 9.148 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.1012, allocations: 3.984 kB / 362.2 MB, free: 9.145 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.133e-05/0.1013, allocations: 42.67 kB / 362.3 MB, free: 9.094 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.202e-06/0.1013, allocations: 0 / 362.3 MB, free: 9.094 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.001016/0.1023, allocations: 0.5905 MB / 362.9 MB, free: 8.41 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.819e-05/0.1023, allocations: 55.34 kB / 362.9 MB, free: 8.344 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.1025, allocations: 128.4 kB / 363 MB, free: 8.207 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.227e-05/0.1025, allocations: 33.7 kB / 363.1 MB, free: 8.168 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.1026, allocations: 136 kB / 363.2 MB, free: 8.027 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.495e-05/0.1027, allocations: 39.45 kB / 363.2 MB, free: 7.988 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.924e-05/0.1027, allocations: 41.61 kB / 363.3 MB, free: 7.941 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.1029, allocations: 318.8 kB / 363.6 MB, free: 7.621 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.91e-05/0.103, allocations: 31.98 kB / 363.6 MB, free: 7.59 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/0.1031, allocations: 86.8 kB / 363.7 MB, free: 7.48 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002083/0.1033, allocations: 139.7 kB / 363.8 MB, free: 7.32 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1033, allocations: 0 / 363.8 MB, free: 7.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002773/0.1036, allocations: 157.3 kB / 364 MB, free: 7.16 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.1036, allocations: 4 kB / 364 MB, free: 7.156 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1037, allocations: 4 kB / 364 MB, free: 7.152 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.1037, allocations: 4 kB / 364 MB, free: 7.148 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001565/0.1038, allocations: 39.91 kB / 364.1 MB, free: 7.109 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/0.1039, allocations: 8.125 kB / 364.1 MB, free: 7.102 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.489e-05/0.104, allocations: 8 kB / 364.1 MB, free: 7.094 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.104, allocations: 8 kB / 364.1 MB, free: 7.086 MB / 302.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.0001133/0.1041, allocations: 129.7 kB / 364.2 MB, free: 6.949 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.171e-05/0.1041, allocations: 7.906 kB / 364.2 MB, free: 6.941 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.808e-05/0.1042, allocations: 16.7 kB / 364.2 MB, free: 6.926 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.1042, allocations: 4 kB / 364.2 MB, free: 6.922 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.1042, allocations: 3.938 kB / 364.2 MB, free: 6.918 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.1042, allocations: 0 / 364.2 MB, free: 6.918 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005888/0.1048, allocations: 447.9 kB / 364.7 MB, free: 6.418 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1048, allocations: 0 / 364.7 MB, free: 6.418 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001305/0.105, allocations: 23.98 kB / 364.7 MB, free: 6.395 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.105, allocations: 4 kB / 364.7 MB, free: 6.391 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.105, allocations: 4 kB / 364.7 MB, free: 6.387 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.105, allocations: 4.062 kB / 364.7 MB, free: 6.383 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.105, allocations: 4 kB / 364.7 MB, free: 6.379 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003437/0.1054, allocations: 252.9 kB / 365 MB, free: 6.109 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.038e-05/0.1054, allocations: 81.02 kB / 365 MB, free: 6.012 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.914e-05/0.1055, allocations: 4.031 kB / 365 MB, free: 6.008 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.862e-05/0.1055, allocations: 16.06 kB / 365.1 MB, free: 5.992 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.886e-05/0.1056, allocations: 7.984 kB / 365.1 MB, free: 5.984 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.1056, allocations: 0 / 365.1 MB, free: 5.984 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.555e-05/0.1057, allocations: 99.27 kB / 365.2 MB, free: 5.887 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1057, allocations: 0 / 365.2 MB, free: 5.887 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002762/0.106, allocations: 28 kB / 365.2 MB, free: 5.859 MB / 302.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.000133/0.1061, allocations: 106 kB / 365.3 MB, free: 5.746 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002614/0.1064, allocations: 104 kB / 365.4 MB, free: 5.645 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1064, allocations: 0 / 365.4 MB, free: 5.645 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.071e-05/0.1065, allocations: 39.92 kB / 365.4 MB, free: 5.605 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003921/0.1069, allocations: 15.92 kB / 365.4 MB, free: 5.59 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008521/0.1077, allocations: 484 kB / 365.9 MB, free: 5.082 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003459/0.1081, allocations: 0.7119 MB / 366.6 MB, free: 4.344 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.125e-05/0.1082, allocations: 12.88 kB / 366.6 MB, free: 4.332 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.782e-05/0.1082, allocations: 19.44 kB / 366.7 MB, free: 4.312 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1082, allocations: 0 / 366.7 MB, free: 4.312 MB / 302.1 MB Notification: Performance of Templates: time 0.003679/0.1119, allocations: 0.8333 MB / 367.5 MB, free: 3.484 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Sensors.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Sensors.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Sensors.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Sensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Sensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Sensors/Sensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches