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.001546/0.001546, allocations: 109.7 kB / 18.4 MB, free: 4.652 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.001702/0.001702, allocations: 183 kB / 19.34 MB, free: 3.727 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.3/1.3, allocations: 205.1 MB / 225.2 MB, free: 12.2 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.00122/0.00122, allocations: 55.92 kB / 329.2 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07194/0.07317, allocations: 46.61 MB / 375.8 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.002987/0.07618, allocations: 1.963 MB / 377.8 MB, free: 2.602 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009109/0.07712, allocations: 0.55 MB / 378.3 MB, free: 2.043 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000123/0.07726, allocations: 4 kB / 378.3 MB, free: 2.039 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001194/0.0774, allocations: 23.8 kB / 378.4 MB, free: 2.016 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.991e-05/0.07751, allocations: 35.64 kB / 378.4 MB, free: 1.98 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001968/0.07772, allocations: 35.95 kB / 378.4 MB, free: 1.945 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001986/0.07792, allocations: 155.4 kB / 378.6 MB, free: 1.793 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001595/0.07809, allocations: 77.36 kB / 378.7 MB, free: 1.719 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.07821, allocations: 63.78 kB / 378.7 MB, free: 1.656 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001098/0.07833, allocations: 67.69 kB / 378.8 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.122e-05/0.07837, allocations: 16 kB / 378.8 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.733e-05/0.0784, allocations: 12 kB / 378.8 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.705e-05/0.07845, allocations: 35.86 kB / 378.8 MB, free: 1.527 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.02e-05/0.07852, allocations: 75.66 kB / 378.9 MB, free: 1.453 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002034/0.07873, allocations: 163.3 kB / 379.1 MB, free: 1.293 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.07874, allocations: 0 / 379.1 MB, free: 1.293 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.71e-07/0.07875, allocations: 0 / 379.1 MB, free: 1.293 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.337e-06/0.07877, allocations: 0 / 379.1 MB, free: 1.293 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.0005569/0.07933, allocations: 442.8 kB / 379.5 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.07937, allocations: 8.031 kB / 379.5 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.52e-05/0.07942, allocations: 24.78 kB / 379.5 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000226/0.07965, allocations: 204.2 kB / 379.7 MB, free: 0.543 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.07968, allocations: 12.38 kB / 379.8 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.599e-05/0.07972, allocations: 12.38 kB / 379.8 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000269/0.07999, allocations: 153.5 kB / 379.9 MB, free: 372 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.08002, allocations: 3.953 kB / 379.9 MB, free: 368 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.764e-05/0.08004, allocations: 8 kB / 379.9 MB, free: 360 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.08005, allocations: 4 kB / 379.9 MB, free: 356 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002029/0.08026, allocations: 91.94 kB / 380 MB, free: 264 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1509/0.2312, allocations: 0.5251 MB / 380.5 MB, free: 12.98 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001494/0.2314, allocations: 80.11 kB / 380.6 MB, free: 12.95 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.127e-05/0.2314, allocations: 27.77 kB / 380.7 MB, free: 12.95 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.595e-05/0.2315, allocations: 1.938 kB / 380.7 MB, free: 12.95 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.73e-05/0.2315, allocations: 38.25 kB / 380.7 MB, free: 12.91 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.844e-06/0.2315, allocations: 0 / 380.7 MB, free: 12.91 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008235/0.2323, allocations: 0.59 MB / 381.3 MB, free: 12.47 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.492e-05/0.2323, allocations: 53.39 kB / 381.3 MB, free: 12.41 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.783e-05/0.2324, allocations: 133.3 kB / 381.5 MB, free: 12.3 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.726e-06/0.2324, allocations: 27.88 kB / 381.5 MB, free: 12.27 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.578e-05/0.2325, allocations: 136.1 kB / 381.6 MB, free: 12.16 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.185e-05/0.2325, allocations: 40.38 kB / 381.7 MB, free: 12.14 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.648e-05/0.2326, allocations: 39.75 kB / 381.7 MB, free: 12.12 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.598e-05/0.2326, allocations: 323.6 kB / 382 MB, free: 11.8 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.249e-05/0.2327, allocations: 29.06 kB / 382 MB, free: 11.8 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.531e-05/0.2328, allocations: 89.34 kB / 382.1 MB, free: 11.74 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001681/0.233, allocations: 134.9 kB / 382.3 MB, free: 11.68 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.233, allocations: 0 / 382.3 MB, free: 11.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002338/0.2332, allocations: 153.1 kB / 382.4 MB, free: 11.63 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.2332, allocations: 14.23 kB / 382.4 MB, free: 11.63 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.2333, allocations: 1.906 kB / 382.4 MB, free: 11.63 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.2333, allocations: 3.562 kB / 382.4 MB, free: 11.63 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/0.2334, allocations: 38.58 kB / 382.5 MB, free: 11.63 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.2335, allocations: 2.438 kB / 382.5 MB, free: 11.63 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.262e-05/0.2335, allocations: 7.703 kB / 382.5 MB, free: 11.63 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.2335, allocations: 6.344 kB / 382.5 MB, free: 11.63 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.425e-05/0.2336, allocations: 142.5 kB / 382.6 MB, free: 11.5 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.843e-05/0.2337, allocations: 11.42 kB / 382.6 MB, free: 11.5 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.157e-05/0.2337, allocations: 12.8 kB / 382.7 MB, free: 11.5 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.2337, allocations: 0.9844 kB / 382.7 MB, free: 11.5 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-06/0.2337, allocations: 1.188 kB / 382.7 MB, free: 11.5 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.857e-05/0.2337, allocations: 83.27 kB / 382.7 MB, free: 11.4 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.2338, allocations: 4.344 kB / 382.7 MB, free: 11.4 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.34e-05/0.2338, allocations: 10.06 kB / 382.7 MB, free: 11.39 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.002e-05/0.2339, allocations: 5.75 kB / 382.8 MB, free: 11.39 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000264/0.2341, allocations: 191 kB / 382.9 MB, free: 11.29 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002749/0.2344, allocations: 319.4 kB / 383.3 MB, free: 11.07 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.386e-05/0.2345, allocations: 34.61 kB / 383.3 MB, free: 11.07 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.765e-05/0.2346, allocations: 99.34 kB / 383.4 MB, free: 11 MB / 318.1 MB Notification: Performance of Backend: time 3.81e-07/0.2346, allocations: 0.6562 kB / 383.4 MB, free: 11 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003837/0.235, allocations: 143.3 kB / 383.5 MB, free: 10.93 MB / 318.1 MB Notification: Performance of SimCode: time 0.0006666/0.2356, allocations: 0.8498 MB / 384.4 MB, free: 10.2 MB / 318.1 MB Notification: Performance of Templates: time 0.003449/0.2391, allocations: 1.048 MB / 385.4 MB, free: 10.11 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