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.001285/0.001285, allocations: 109.4 kB / 18.4 MB, free: 4.688 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.00129/0.00129, allocations: 187.1 kB / 19.33 MB, free: 3.77 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.415/1.415, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001324/0.001324, allocations: 51.92 kB / 329.2 MB, free: 3.324 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0914/0.09273, allocations: 46.62 MB / 375.8 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003683/0.09646, allocations: 1.956 MB / 377.8 MB, free: 2.625 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001109/0.0976, allocations: 0.55 MB / 378.3 MB, free: 2.066 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000173/0.0978, allocations: 4 kB / 378.3 MB, free: 2.062 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001722/0.09802, allocations: 27.73 kB / 378.3 MB, free: 2.035 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001456/0.09817, allocations: 35.7 kB / 378.4 MB, free: 2 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002868/0.09847, allocations: 39.89 kB / 378.4 MB, free: 1.961 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002647/0.09874, allocations: 155.4 kB / 378.6 MB, free: 1.809 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001999/0.09895, allocations: 73.36 kB / 378.6 MB, free: 1.738 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000179/0.09914, allocations: 59.84 kB / 378.7 MB, free: 1.68 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001573/0.09931, allocations: 71.69 kB / 378.8 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.75e-05/0.09935, allocations: 16 kB / 378.8 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.122e-05/0.09939, allocations: 12 kB / 378.8 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.854e-05/0.09943, allocations: 35.86 kB / 378.8 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.155e-05/0.09952, allocations: 71.66 kB / 378.9 MB, free: 1.477 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002811/0.09981, allocations: 163.4 kB / 379.1 MB, free: 1.316 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.09983, allocations: 4 kB / 379.1 MB, free: 1.312 MB / 318.1 MB Notification: Performance of FrontEnd: time 5.13e-06/0.09984, allocations: 3.984 kB / 379.1 MB, free: 1.309 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.096e-06/0.09985, allocations: 3.938 kB / 379.1 MB, free: 1.305 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.0007417/0.1006, allocations: 435.1 kB / 379.5 MB, free: 0.832 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.1006, allocations: 8.031 kB / 379.5 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.542e-05/0.1007, allocations: 16.75 kB / 379.5 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003148/0.101, allocations: 204.2 kB / 379.7 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.1011, allocations: 12.38 kB / 379.7 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.56e-05/0.1011, allocations: 16.28 kB / 379.8 MB, free: 0.543 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003468/0.1015, allocations: 145.7 kB / 379.9 MB, free: 404 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.1015, allocations: 4 kB / 379.9 MB, free: 400 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.085e-05/0.1015, allocations: 11.94 kB / 379.9 MB, free: 388 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.1015, allocations: 7.938 kB / 379.9 MB, free: 380 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002194/0.1018, allocations: 91.94 kB / 380 MB, free: 288 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2029/0.3047, allocations: 0.5139 MB / 380.5 MB, free: 12.93 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001782/0.3049, allocations: 82.53 kB / 380.6 MB, free: 12.91 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.058e-05/0.305, allocations: 28.78 kB / 380.6 MB, free: 12.9 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/0.3051, allocations: 1.984 kB / 380.6 MB, free: 12.9 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.535e-05/0.3051, allocations: 31.84 kB / 380.7 MB, free: 12.86 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 2.275e-06/0.3051, allocations: 1.375 kB / 380.7 MB, free: 12.86 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009278/0.306, allocations: 0.5955 MB / 381.3 MB, free: 12.43 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.242e-05/0.3061, allocations: 59.91 kB / 381.3 MB, free: 12.37 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.366e-05/0.3061, allocations: 130.5 kB / 381.4 MB, free: 12.27 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.438e-06/0.3062, allocations: 29.08 kB / 381.5 MB, free: 12.24 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.204e-05/0.3062, allocations: 129.1 kB / 381.6 MB, free: 12.13 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.375e-05/0.3063, allocations: 48.83 kB / 381.6 MB, free: 12.1 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.952e-05/0.3063, allocations: 32.75 kB / 381.7 MB, free: 12.09 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.56e-05/0.3064, allocations: 321.4 kB / 382 MB, free: 11.77 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.186e-05/0.3064, allocations: 31.62 kB / 382 MB, free: 11.77 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.207e-05/0.3065, allocations: 85.41 kB / 382.1 MB, free: 11.71 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001599/0.3067, allocations: 129.3 kB / 382.2 MB, free: 11.65 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3067, allocations: 0.6562 kB / 382.2 MB, free: 11.65 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002325/0.307, allocations: 159.1 kB / 382.4 MB, free: 11.61 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.307, allocations: 6.875 kB / 382.4 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.307, allocations: 2.25 kB / 382.4 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.307, allocations: 6.688 kB / 382.4 MB, free: 11.6 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001726/0.3072, allocations: 38.78 kB / 382.4 MB, free: 11.6 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.896e-06/0.3072, allocations: 3.547 kB / 382.4 MB, free: 11.6 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.328e-05/0.3073, allocations: 8.281 kB / 382.5 MB, free: 11.6 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.3073, allocations: 5.5 kB / 382.5 MB, free: 11.6 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.456e-05/0.3074, allocations: 135.2 kB / 382.6 MB, free: 11.48 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.316e-05/0.3074, allocations: 13 kB / 382.6 MB, free: 11.47 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.359e-05/0.3075, allocations: 14.97 kB / 382.6 MB, free: 11.46 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.165e-06/0.3075, allocations: 8.484 kB / 382.6 MB, free: 11.46 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.3075, allocations: 2.688 kB / 382.6 MB, free: 11.46 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.3075, allocations: 0.9844 kB / 382.6 MB, free: 11.46 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004407/0.3079, allocations: 448 kB / 383.1 MB, free: 11.14 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3079, allocations: 1.375 kB / 383.1 MB, free: 11.14 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000128/0.3081, allocations: 25.55 kB / 383.1 MB, free: 11.14 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.3081, allocations: 1.781 kB / 383.1 MB, free: 11.14 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.3081, allocations: 8.781 kB / 383.1 MB, free: 11.13 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3081, allocations: 0 / 383.1 MB, free: 11.13 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3081, allocations: 1.344 kB / 383.1 MB, free: 11.13 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002698/0.3084, allocations: 252.2 kB / 383.4 MB, free: 10.98 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.366e-05/0.3084, allocations: 86.31 kB / 383.4 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.028e-05/0.3085, allocations: 4 kB / 383.4 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.195e-05/0.3085, allocations: 3.031 kB / 383.4 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.746e-05/0.3086, allocations: 11.58 kB / 383.5 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.3086, allocations: 4.609 kB / 383.5 MB, free: 10.88 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.123e-05/0.3087, allocations: 101.3 kB / 383.6 MB, free: 10.8 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3087, allocations: 0 / 383.6 MB, free: 10.8 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002847/0.309, allocations: 28.59 kB / 383.6 MB, free: 10.8 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 9.339e-05/0.3091, allocations: 98.62 kB / 383.7 MB, free: 10.71 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002555/0.3093, allocations: 94.45 kB / 383.8 MB, free: 10.71 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3093, allocations: 4.125 kB / 383.8 MB, free: 10.7 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 9.122e-05/0.3094, allocations: 42.45 kB / 383.8 MB, free: 10.7 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003018/0.3097, allocations: 15.44 kB / 383.8 MB, free: 10.7 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007428/0.3105, allocations: 445 kB / 384.3 MB, free: 10.39 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001549/0.3107, allocations: 0.7102 MB / 385 MB, free: 9.695 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.338e-05/0.3107, allocations: 19.23 kB / 385 MB, free: 9.684 MB / 318.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3107, allocations: 3.938 kB / 385 MB, free: 9.68 MB / 318.1 MB Notification: Performance of Templates: time 0.003223/0.3139, allocations: 1.473 MB / 386.5 MB, free: 9.57 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Sensors/Sensors.csv","/var/lib/jenkins1/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