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.001033/0.001033, allocations: 105.5 kB / 18.35 MB, free: 4.512 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.001003/0.001003, allocations: 192 kB / 19.29 MB, free: 3.582 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.387/1.387, allocations: 205.1 MB / 225.2 MB, free: 12.26 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.001193/0.001193, allocations: 55.92 kB / 282.1 MB, free: 2.453 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08371/0.08491, allocations: 46.63 MB / 328.7 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.002981/0.08793, allocations: 1.959 MB / 330.7 MB, free: 1.77 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007738/0.08872, allocations: 0.5424 MB / 331.2 MB, free: 1.219 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.083e-05/0.08881, allocations: 4 kB / 331.2 MB, free: 1.215 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001114/0.08894, allocations: 27.72 kB / 331.3 MB, free: 1.188 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.171e-05/0.08902, allocations: 39.64 kB / 331.3 MB, free: 1.148 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001763/0.0892, allocations: 39.95 kB / 331.3 MB, free: 1.109 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002417/0.08945, allocations: 147.4 kB / 331.5 MB, free: 0.9648 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001635/0.08962, allocations: 61.53 kB / 331.5 MB, free: 0.9062 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.08973, allocations: 71.7 kB / 331.6 MB, free: 0.8359 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.08985, allocations: 71.7 kB / 331.7 MB, free: 0.7656 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.551e-05/0.08988, allocations: 12 kB / 331.7 MB, free: 0.7539 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.414e-05/0.08991, allocations: 16 kB / 331.7 MB, free: 0.7383 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.351e-05/0.08995, allocations: 27.92 kB / 331.7 MB, free: 0.7109 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.458e-05/0.09003, allocations: 75.64 kB / 331.8 MB, free: 0.6367 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001833/0.09022, allocations: 167.3 kB / 332 MB, free: 484 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.09023, allocations: 0 / 332 MB, free: 484 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.09024, allocations: 0 / 332 MB, free: 484 kB / 270.1 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.09025, allocations: 0 / 332 MB, free: 484 kB / 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.0005904/0.09084, allocations: 447.1 kB / 332.4 MB, free: 15.98 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.09089, allocations: 8.031 kB / 332.4 MB, free: 15.98 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.385e-05/0.09094, allocations: 16.75 kB / 332.4 MB, free: 15.96 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002303/0.09117, allocations: 204.1 kB / 332.6 MB, free: 15.72 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.0912, allocations: 8.375 kB / 332.6 MB, free: 15.71 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.897e-05/0.09124, allocations: 20.38 kB / 332.7 MB, free: 15.7 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002735/0.09152, allocations: 145.6 kB / 332.8 MB, free: 15.55 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.09154, allocations: 0 / 332.8 MB, free: 15.55 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.665e-05/0.09157, allocations: 8 kB / 332.8 MB, free: 15.54 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.09158, allocations: 4 kB / 332.8 MB, free: 15.54 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001905/0.09178, allocations: 91.94 kB / 332.9 MB, free: 15.45 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007499/0.09253, allocations: 0.5286 MB / 333.4 MB, free: 14.86 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000158/0.0927, allocations: 78.55 kB / 333.5 MB, free: 14.78 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.965e-05/0.09279, allocations: 37.03 kB / 333.6 MB, free: 14.74 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.573e-05/0.09282, allocations: 3.938 kB / 333.6 MB, free: 14.73 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.09284, allocations: 30.56 kB / 333.6 MB, free: 14.7 MB / 286.1 MB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.09285, allocations: 0 / 333.6 MB, free: 14.7 MB / 286.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009585/0.09381, allocations: 0.6021 MB / 334.2 MB, free: 14 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.819e-05/0.09386, allocations: 59.34 kB / 334.2 MB, free: 13.93 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.09398, allocations: 127 kB / 334.4 MB, free: 13.8 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.094, allocations: 29.7 kB / 334.4 MB, free: 13.76 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.169e-05/0.09408, allocations: 128 kB / 334.5 MB, free: 13.63 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.994e-05/0.09411, allocations: 39.39 kB / 334.6 MB, free: 13.59 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.948e-05/0.09419, allocations: 45.61 kB / 334.6 MB, free: 13.54 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.09433, allocations: 322.8 kB / 334.9 MB, free: 13.21 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.689e-05/0.09442, allocations: 31.98 kB / 335 MB, free: 13.18 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001245/0.09455, allocations: 82.84 kB / 335 MB, free: 13.08 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001882/0.09475, allocations: 130.7 kB / 335.2 MB, free: 12.93 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.09476, allocations: 4 kB / 335.2 MB, free: 12.92 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002609/0.09503, allocations: 150.4 kB / 335.3 MB, free: 12.77 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.09505, allocations: 8 kB / 335.3 MB, free: 12.76 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.09506, allocations: 3.984 kB / 335.3 MB, free: 12.76 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.09508, allocations: 4 kB / 335.3 MB, free: 12.75 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001571/0.09524, allocations: 35.92 kB / 335.4 MB, free: 12.72 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.09526, allocations: 8.031 kB / 335.4 MB, free: 12.71 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.666e-05/0.09535, allocations: 16.12 kB / 335.4 MB, free: 12.7 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.09537, allocations: 4 kB / 335.4 MB, free: 12.69 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.867e-05/0.09547, allocations: 125.8 kB / 335.5 MB, free: 12.56 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.183e-05/0.09551, allocations: 11.89 kB / 335.5 MB, free: 12.55 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.399e-05/0.09555, allocations: 12.38 kB / 335.5 MB, free: 12.54 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.09555, allocations: 4 kB / 335.5 MB, free: 12.53 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.09557, allocations: 7.875 kB / 335.6 MB, free: 12.52 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.09557, allocations: 0 / 335.6 MB, free: 12.52 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005303/0.09611, allocations: 447.9 kB / 336 MB, free: 12.02 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.09612, allocations: 4 kB / 336 MB, free: 12.02 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001326/0.09626, allocations: 23.98 kB / 336 MB, free: 12 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.09627, allocations: 4 kB / 336 MB, free: 11.99 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.09629, allocations: 4 kB / 336 MB, free: 11.99 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.0963, allocations: 0 / 336 MB, free: 11.99 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.09631, allocations: 4 kB / 336 MB, free: 11.98 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003503/0.09666, allocations: 253.1 kB / 336.3 MB, free: 11.71 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.777e-05/0.09672, allocations: 81.02 kB / 336.4 MB, free: 11.62 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.09674, allocations: 4 kB / 336.4 MB, free: 11.61 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.597e-05/0.09683, allocations: 4 kB / 336.4 MB, free: 11.61 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.719e-05/0.09688, allocations: 12.05 kB / 336.4 MB, free: 11.6 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.09689, allocations: 7.938 kB / 336.4 MB, free: 11.59 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.255e-05/0.09695, allocations: 100.1 kB / 336.5 MB, free: 11.49 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09695, allocations: 0 / 336.5 MB, free: 11.49 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002701/0.09723, allocations: 28 kB / 336.5 MB, free: 11.46 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 (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.435e-05/0.09733, allocations: 107.2 kB / 336.6 MB, free: 11.35 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002145/0.09755, allocations: 96.22 kB / 336.7 MB, free: 11.25 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.09756, allocations: 0 / 336.7 MB, free: 11.25 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 8.559e-05/0.09765, allocations: 40.2 kB / 336.7 MB, free: 11.21 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002841/0.09794, allocations: 16.11 kB / 336.8 MB, free: 11.2 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006878/0.09864, allocations: 423.8 kB / 337.2 MB, free: 10.75 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003313/0.09898, allocations: 0.7119 MB / 337.9 MB, free: 10.02 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.921e-05/0.09904, allocations: 12.88 kB / 337.9 MB, free: 10 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.095e-05/0.09908, allocations: 15.44 kB / 337.9 MB, free: 9.984 MB / 286.1 MB Notification: Performance of SimCode: time 2.61e-07/0.09908, allocations: 0 / 337.9 MB, free: 9.984 MB / 286.1 MB Notification: Performance of Templates: time 0.003165/0.1023, allocations: 0.8453 MB / 338.8 MB, free: 9.141 MB / 286.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 -s gbode -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