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.0023/0.0023, allocations: 114.4 kB / 17.73 MB, free: 5.359 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.002637/0.002637, allocations: 187.1 kB / 18.66 MB, free: 4.438 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.464/1.464, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001294/0.001294, allocations: 52.34 kB / 328.5 MB, free: 3.336 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09696/0.09826, allocations: 46.62 MB / 375.1 MB, free: 4.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.00351/0.1018, allocations: 1.96 MB / 377.1 MB, free: 2.629 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009764/0.1028, allocations: 0.5539 MB / 377.6 MB, free: 2.066 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001716/0.103, allocations: 4 kB / 377.6 MB, free: 2.062 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001567/0.1032, allocations: 19.78 kB / 377.7 MB, free: 2.043 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001373/0.1034, allocations: 35.64 kB / 377.7 MB, free: 2.008 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002854/0.1036, allocations: 47.94 kB / 377.7 MB, free: 1.961 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002627/0.1039, allocations: 147.4 kB / 377.9 MB, free: 1.816 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002103/0.1041, allocations: 77.36 kB / 378 MB, free: 1.742 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001573/0.1043, allocations: 59.78 kB / 378 MB, free: 1.684 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001506/0.1045, allocations: 67.7 kB / 378.1 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.563e-05/0.1045, allocations: 12 kB / 378.1 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.084e-05/0.1046, allocations: 20 kB / 378.1 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.07e-05/0.1046, allocations: 35.84 kB / 378.2 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.155e-05/0.1047, allocations: 71.66 kB / 378.2 MB, free: 1.48 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002454/0.105, allocations: 167.4 kB / 378.4 MB, free: 1.316 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.105, allocations: 0 / 378.4 MB, free: 1.316 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.105, allocations: 0 / 378.4 MB, free: 1.316 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.105, allocations: 0 / 378.4 MB, free: 1.316 MB / 318.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.0006393/0.1056, allocations: 447 kB / 378.8 MB, free: 0.832 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.1057, allocations: 8.031 kB / 378.8 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.141e-05/0.1057, allocations: 16.75 kB / 378.9 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000264/0.106, allocations: 204.2 kB / 379.1 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.106, allocations: 8.375 kB / 379.1 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.877e-05/0.1061, allocations: 24.28 kB / 379.1 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002915/0.1064, allocations: 145.6 kB / 379.2 MB, free: 400 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.1064, allocations: 0 / 379.2 MB, free: 400 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.92e-05/0.1064, allocations: 7.938 kB / 379.2 MB, free: 392 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.1064, allocations: 8 kB / 379.2 MB, free: 384 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001966/0.1066, allocations: 91.94 kB / 379.3 MB, free: 292 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1912/0.2979, allocations: 0.5086 MB / 379.8 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002053/0.2981, allocations: 76.69 kB / 379.9 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.271e-05/0.2982, allocations: 33.89 kB / 379.9 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.87e-05/0.2983, allocations: 1.375 kB / 379.9 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.2983, allocations: 37.09 kB / 380 MB, free: 12.82 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 2.736e-06/0.2983, allocations: 1.375 kB / 380 MB, free: 12.82 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.001306/0.2996, allocations: 0.5919 MB / 380.6 MB, free: 12.39 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/0.2997, allocations: 60.19 kB / 380.6 MB, free: 12.32 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.2998, allocations: 127.8 kB / 380.8 MB, free: 12.23 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.2999, allocations: 29.08 kB / 380.8 MB, free: 12.2 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.035e-05/0.3, allocations: 135.5 kB / 380.9 MB, free: 12.09 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.105e-05/0.3, allocations: 46 kB / 381 MB, free: 12.06 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.879e-05/0.3001, allocations: 32.75 kB / 381 MB, free: 12.05 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.387e-05/0.3002, allocations: 321.9 kB / 381.3 MB, free: 11.73 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001103/0.3003, allocations: 34.92 kB / 381.3 MB, free: 11.73 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.3005, allocations: 89.84 kB / 381.4 MB, free: 11.67 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002091/0.3007, allocations: 126.2 kB / 381.6 MB, free: 11.61 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.3007, allocations: 1.375 kB / 381.6 MB, free: 11.61 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002801/0.301, allocations: 154.9 kB / 381.7 MB, free: 11.56 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.736e-05/0.301, allocations: 5.75 kB / 381.7 MB, free: 11.56 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.301, allocations: 3.688 kB / 381.7 MB, free: 11.56 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.369e-05/0.3011, allocations: 7.5 kB / 381.7 MB, free: 11.56 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001704/0.3012, allocations: 36.36 kB / 381.8 MB, free: 11.56 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.3013, allocations: 7.672 kB / 381.8 MB, free: 11.55 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.666e-05/0.3013, allocations: 8.562 kB / 381.8 MB, free: 11.55 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.766e-05/0.3014, allocations: 8.625 kB / 381.8 MB, free: 11.55 MB / 318.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 7.859e-05/0.3014, allocations: 126.1 kB / 381.9 MB, free: 11.44 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.353e-05/0.3015, allocations: 13.92 kB / 381.9 MB, free: 11.43 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.617e-05/0.3015, allocations: 16.2 kB / 381.9 MB, free: 11.43 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.3015, allocations: 5.281 kB / 381.9 MB, free: 11.43 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/0.3015, allocations: 1.125 kB / 381.9 MB, free: 11.43 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.3016, allocations: 3.891 kB / 382 MB, free: 11.43 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005042/0.3021, allocations: 448 kB / 382.4 MB, free: 11.1 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.3021, allocations: 5.062 kB / 382.4 MB, free: 11.1 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001336/0.3022, allocations: 27.38 kB / 382.4 MB, free: 11.09 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.3022, allocations: 1.375 kB / 382.4 MB, free: 11.09 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.3023, allocations: 2.844 kB / 382.4 MB, free: 11.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.3023, allocations: 4.734 kB / 382.4 MB, free: 11.09 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.3023, allocations: 1.375 kB / 382.4 MB, free: 11.09 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003247/0.3026, allocations: 256.5 kB / 382.7 MB, free: 10.93 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.388e-05/0.3026, allocations: 84.7 kB / 382.8 MB, free: 10.84 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.244e-05/0.3027, allocations: 5.469 kB / 382.8 MB, free: 10.84 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.88e-05/0.3028, allocations: 3.828 kB / 382.8 MB, free: 10.84 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.471e-05/0.3028, allocations: 7.125 kB / 382.8 MB, free: 10.84 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.3028, allocations: 6.312 kB / 382.8 MB, free: 10.84 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.556e-05/0.3029, allocations: 98.33 kB / 382.9 MB, free: 10.76 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3029, allocations: 0 / 382.9 MB, free: 10.76 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002846/0.3032, allocations: 28.75 kB / 382.9 MB, free: 10.76 MB / 318.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.0001275/0.3033, allocations: 101.4 kB / 383 MB, free: 10.67 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003043/0.3036, allocations: 96.22 kB / 383.1 MB, free: 10.66 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.3036, allocations: 0 / 383.1 MB, free: 10.66 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001074/0.3038, allocations: 39.98 kB / 383.1 MB, free: 10.66 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002973/0.3041, allocations: 19.75 kB / 383.2 MB, free: 10.66 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008499/0.3049, allocations: 419 kB / 383.6 MB, free: 10.38 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001796/0.3051, allocations: 0.7145 MB / 384.3 MB, free: 9.684 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.916e-05/0.3052, allocations: 9.109 kB / 384.3 MB, free: 9.68 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.693e-05/0.3052, allocations: 16.61 kB / 384.3 MB, free: 9.672 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3052, allocations: 0.6875 kB / 384.3 MB, free: 9.672 MB / 318.1 MB Notification: Performance of Templates: time 0.003851/0.3091, allocations: 0.8793 MB / 385.2 MB, free: 9.598 MB / 318.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches