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.001042/0.001041, allocations: 102.4 kB / 18.4 MB, free: 4.676 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.001082/0.001082, allocations: 188.2 kB / 19.34 MB, free: 3.75 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.292/1.292, allocations: 205.1 MB / 225.2 MB, free: 12.22 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.001139/0.001139, allocations: 55.92 kB / 329.2 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07143/0.07258, allocations: 46.62 MB / 375.8 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.002753/0.07536, allocations: 1.959 MB / 377.8 MB, free: 2.609 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007663/0.07614, allocations: 0.55 MB / 378.3 MB, free: 2.051 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.27e-05/0.07622, allocations: 0 / 378.3 MB, free: 2.051 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001005/0.07633, allocations: 23.78 kB / 378.3 MB, free: 2.027 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.86e-05/0.07641, allocations: 35.64 kB / 378.4 MB, free: 1.992 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001703/0.07659, allocations: 39.95 kB / 378.4 MB, free: 1.953 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001756/0.07677, allocations: 155.4 kB / 378.6 MB, free: 1.801 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001534/0.07693, allocations: 77.38 kB / 378.6 MB, free: 1.727 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.348e-05/0.07703, allocations: 63.77 kB / 378.7 MB, free: 1.664 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001102/0.07715, allocations: 63.7 kB / 378.8 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.035e-05/0.07719, allocations: 20 kB / 378.8 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.514e-05/0.07722, allocations: 12 kB / 378.8 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.075e-05/0.07726, allocations: 35.86 kB / 378.8 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.206e-05/0.07732, allocations: 75.64 kB / 378.9 MB, free: 1.461 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001787/0.07751, allocations: 167.4 kB / 379.1 MB, free: 1.297 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.07752, allocations: 0 / 379.1 MB, free: 1.297 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.07752, allocations: 0 / 379.1 MB, free: 1.297 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.07753, allocations: 0 / 379.1 MB, free: 1.297 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.0005278/0.07806, allocations: 439 kB / 379.5 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.0781, allocations: 12.03 kB / 379.5 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.076e-05/0.07815, allocations: 16.75 kB / 379.5 MB, free: 0.793 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002013/0.07836, allocations: 196.2 kB / 379.7 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.07838, allocations: 16.31 kB / 379.7 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.506e-05/0.07842, allocations: 20.28 kB / 379.8 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002592/0.07868, allocations: 141.7 kB / 379.9 MB, free: 392 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.07871, allocations: 4 kB / 379.9 MB, free: 388 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.07873, allocations: 7.938 kB / 379.9 MB, free: 380 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.07874, allocations: 11.94 kB / 379.9 MB, free: 368 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001865/0.07894, allocations: 87.94 kB / 380 MB, free: 280 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1456/0.2245, allocations: 0.5169 MB / 380.5 MB, free: 12.91 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001503/0.2247, allocations: 76.75 kB / 380.6 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.374e-05/0.2248, allocations: 36.39 kB / 380.6 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/0.2248, allocations: 2.219 kB / 380.6 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.783e-05/0.2248, allocations: 34 kB / 380.7 MB, free: 12.84 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.894e-06/0.2248, allocations: 0 / 380.7 MB, free: 12.84 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008187/0.2256, allocations: 0.5921 MB / 381.3 MB, free: 12.41 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.448e-05/0.2257, allocations: 57.47 kB / 381.3 MB, free: 12.35 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.726e-05/0.2257, allocations: 126.8 kB / 381.4 MB, free: 12.25 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.396e-06/0.2258, allocations: 26.64 kB / 381.5 MB, free: 12.22 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.768e-05/0.2258, allocations: 141.4 kB / 381.6 MB, free: 12.12 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.297e-05/0.2258, allocations: 48.19 kB / 381.7 MB, free: 12.09 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.722e-05/0.2259, allocations: 33.19 kB / 381.7 MB, free: 12.07 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.693e-05/0.2259, allocations: 319.6 kB / 382 MB, free: 11.76 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.748e-05/0.226, allocations: 32.89 kB / 382 MB, free: 11.76 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.562e-05/0.2261, allocations: 88.44 kB / 382.1 MB, free: 11.7 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001628/0.2263, allocations: 128.7 kB / 382.2 MB, free: 11.63 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.2263, allocations: 0.8125 kB / 382.2 MB, free: 11.63 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002324/0.2265, allocations: 158.2 kB / 382.4 MB, free: 11.59 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.2266, allocations: 8.297 kB / 382.4 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.2266, allocations: 5.125 kB / 382.4 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.2266, allocations: 5.375 kB / 382.4 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/0.2268, allocations: 37.84 kB / 382.5 MB, free: 11.58 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.2268, allocations: 3.812 kB / 382.5 MB, free: 11.58 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.441e-05/0.2269, allocations: 7 kB / 382.5 MB, free: 11.58 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.2269, allocations: 7.625 kB / 382.5 MB, free: 11.58 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 6.415e-05/0.2269, allocations: 135.3 kB / 382.6 MB, free: 11.46 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.082e-05/0.227, allocations: 8.031 kB / 382.6 MB, free: 11.46 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.157e-05/0.227, allocations: 21.11 kB / 382.6 MB, free: 11.45 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.227, allocations: 1.938 kB / 382.6 MB, free: 11.45 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.227, allocations: 0.6094 kB / 382.6 MB, free: 11.45 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.823e-05/0.2271, allocations: 84.66 kB / 382.7 MB, free: 11.35 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.2271, allocations: 1.375 kB / 382.7 MB, free: 11.35 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.481e-05/0.2272, allocations: 5.891 kB / 382.7 MB, free: 11.35 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.863e-05/0.2272, allocations: 6.703 kB / 382.7 MB, free: 11.35 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002621/0.2275, allocations: 186.2 kB / 382.9 MB, free: 11.25 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002748/0.2278, allocations: 325.6 kB / 383.2 MB, free: 11.03 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.15e-05/0.2278, allocations: 31.58 kB / 383.3 MB, free: 11.03 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.592e-05/0.2279, allocations: 98.5 kB / 383.4 MB, free: 10.95 MB / 318.1 MB Notification: Performance of Backend: time 3.71e-07/0.2279, allocations: 3.625 kB / 383.4 MB, free: 10.95 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004056/0.2283, allocations: 141.7 kB / 383.5 MB, free: 10.88 MB / 318.1 MB Notification: Performance of SimCode: time 0.0007077/0.229, allocations: 0.84 MB / 384.3 MB, free: 10.17 MB / 318.1 MB Notification: Performance of Templates: time 0.003721/0.2328, allocations: 1.074 MB / 385.4 MB, free: 10.08 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