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.001688/0.001688, allocations: 114.4 kB / 17.74 MB, free: 5.355 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.001841/0.001841, allocations: 183.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.622/1.622, 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.001972/0.001972, allocations: 51.92 kB / 328.5 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1295, allocations: 46.62 MB / 375.1 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.00346/0.133, allocations: 1.952 MB / 377.1 MB, free: 2.625 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008747/0.134, allocations: 0.5539 MB / 377.6 MB, free: 2.062 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.552e-05/0.1341, allocations: 4 kB / 377.6 MB, free: 2.059 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001244/0.1342, allocations: 23.78 kB / 377.7 MB, free: 2.035 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.558e-05/0.1343, allocations: 35.64 kB / 377.7 MB, free: 2 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002175/0.1345, allocations: 43.94 kB / 377.7 MB, free: 1.957 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001978/0.1347, allocations: 151.4 kB / 377.9 MB, free: 1.809 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001921/0.1349, allocations: 73.38 kB / 378 MB, free: 1.738 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.1351, allocations: 63.77 kB / 378 MB, free: 1.676 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/0.1352, allocations: 67.7 kB / 378.1 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.015e-05/0.1352, allocations: 16 kB / 378.1 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.686e-05/0.1353, allocations: 12 kB / 378.1 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.82e-05/0.1353, allocations: 35.84 kB / 378.2 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.094e-05/0.1354, allocations: 75.66 kB / 378.2 MB, free: 1.473 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002207/0.1356, allocations: 163.3 kB / 378.4 MB, free: 1.312 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1356, allocations: 0 / 378.4 MB, free: 1.312 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.1356, allocations: 0 / 378.4 MB, free: 1.312 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.1357, allocations: 0 / 378.4 MB, free: 1.312 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.0006472/0.1363, allocations: 450.8 kB / 378.8 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.1364, allocations: 12.03 kB / 378.8 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.801e-05/0.1364, allocations: 12.84 kB / 378.9 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002474/0.1367, allocations: 200.2 kB / 379 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.1367, allocations: 12.38 kB / 379.1 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.05e-05/0.1367, allocations: 12.38 kB / 379.1 MB, free: 0.543 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003237/0.1371, allocations: 149.6 kB / 379.2 MB, free: 400 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.291e-05/0.1371, allocations: 7.953 kB / 379.2 MB, free: 392 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.177e-05/0.1371, allocations: 8 kB / 379.2 MB, free: 384 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.1371, allocations: 7.938 kB / 379.2 MB, free: 376 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002095/0.1374, allocations: 87.94 kB / 379.3 MB, free: 288 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2459/0.3833, allocations: 0.5186 MB / 379.8 MB, free: 12.94 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002023/0.3836, allocations: 78.2 kB / 379.9 MB, free: 12.91 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.297e-05/0.3837, allocations: 33.25 kB / 380 MB, free: 12.91 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.75e-05/0.3837, allocations: 1.25 kB / 380 MB, free: 12.91 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.3837, allocations: 35.88 kB / 380 MB, free: 12.87 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 2.895e-06/0.3837, allocations: 0 / 380 MB, free: 12.87 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.001038/0.3848, allocations: 0.5955 MB / 380.6 MB, free: 12.43 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/0.3848, allocations: 57.12 kB / 380.6 MB, free: 12.37 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.3849, allocations: 129.2 kB / 380.8 MB, free: 12.27 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.758e-06/0.385, allocations: 31.14 kB / 380.8 MB, free: 12.24 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.546e-05/0.385, allocations: 141.1 kB / 380.9 MB, free: 12.13 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.36e-05/0.385, allocations: 42.22 kB / 381 MB, free: 12.1 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.528e-05/0.3851, allocations: 33.2 kB / 381 MB, free: 12.09 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.429e-05/0.3852, allocations: 322.2 kB / 381.3 MB, free: 11.77 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.23e-05/0.3853, allocations: 32.59 kB / 381.4 MB, free: 11.77 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001086/0.3854, allocations: 91.5 kB / 381.4 MB, free: 11.71 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001871/0.3856, allocations: 123.9 kB / 381.6 MB, free: 11.65 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.3856, allocations: 1.375 kB / 381.6 MB, free: 11.65 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002565/0.3858, allocations: 161.5 kB / 381.7 MB, free: 11.61 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.3859, allocations: 6.203 kB / 381.7 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.3859, allocations: 2.75 kB / 381.7 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.3859, allocations: 6.688 kB / 381.7 MB, free: 11.6 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/0.3861, allocations: 40.98 kB / 381.8 MB, free: 11.6 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/0.3861, allocations: 3.547 kB / 381.8 MB, free: 11.6 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.469e-05/0.3862, allocations: 12.55 kB / 381.8 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.353e-05/0.3862, allocations: 8.625 kB / 381.8 MB, free: 11.59 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.402e-05/0.3863, allocations: 131.8 kB / 381.9 MB, free: 11.47 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.178e-05/0.3863, allocations: 8.922 kB / 381.9 MB, free: 11.47 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.553e-05/0.3864, allocations: 13.05 kB / 382 MB, free: 11.46 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.3864, allocations: 9.609 kB / 382 MB, free: 11.46 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3864, allocations: 1.375 kB / 382 MB, free: 11.46 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.3864, allocations: 0.75 kB / 382 MB, free: 11.46 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004784/0.3869, allocations: 448.2 kB / 382.4 MB, free: 11.14 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.3869, allocations: 1.375 kB / 382.4 MB, free: 11.14 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001307/0.387, allocations: 23.75 kB / 382.4 MB, free: 11.14 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.387, allocations: 1.469 kB / 382.4 MB, free: 11.14 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.387, allocations: 5.312 kB / 382.4 MB, free: 11.13 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.3871, allocations: 3.828 kB / 382.4 MB, free: 11.13 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3871, allocations: 1.375 kB / 382.4 MB, free: 11.13 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003159/0.3874, allocations: 257.6 kB / 382.7 MB, free: 10.98 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.447e-05/0.3874, allocations: 84.38 kB / 382.8 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.288e-05/0.3875, allocations: 2.359 kB / 382.8 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.196e-05/0.3875, allocations: 7.016 kB / 382.8 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.503e-05/0.3876, allocations: 6.844 kB / 382.8 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.3876, allocations: 10.16 kB / 382.8 MB, free: 10.88 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.94e-05/0.3877, allocations: 96.72 kB / 382.9 MB, free: 10.8 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3877, allocations: 0 / 382.9 MB, free: 10.8 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003115/0.388, allocations: 26.06 kB / 382.9 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 0.000125/0.3881, allocations: 109.9 kB / 383 MB, free: 10.71 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002695/0.3884, allocations: 90.89 kB / 383.1 MB, free: 10.7 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3884, allocations: 4.656 kB / 383.1 MB, free: 10.7 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001116/0.3885, allocations: 40.38 kB / 383.2 MB, free: 10.69 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003564/0.3889, allocations: 18.41 kB / 383.2 MB, free: 10.69 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008141/0.3897, allocations: 426.5 kB / 383.6 MB, free: 10.41 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002068/0.39, allocations: 0.7104 MB / 384.3 MB, free: 9.715 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.233e-05/0.39, allocations: 13.14 kB / 384.3 MB, free: 9.707 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.678e-05/0.3901, allocations: 14.27 kB / 384.3 MB, free: 9.699 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3901, allocations: 0 / 384.3 MB, free: 9.699 MB / 318.1 MB Notification: Performance of Templates: time 0.003839/0.3939, allocations: 0.8832 MB / 385.2 MB, free: 9.629 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