Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(Modelica.Mechanics.Translational.Examples.Sensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass.s|mass.v",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 176.2 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 221.5 MB / 230.3 MB, free: 7.59 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009008/0.0009009, allocations: 90.88 kB / 281.2 MB, free: 5.336 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.209e-05/2.211e-05, allocations: 0 / 337 MB, free: 10.05 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1437, allocations: 50.42 MB / 387.5 MB, free: 7.586 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4629/0.6067, allocations: 77.5 MB / 465 MB, free: 1.375 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002566/0.607, allocations: 77.92 kB / 465 MB, free: 1.301 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008023/0.615, allocations: 2.653 MB / 467.7 MB, free: 14.66 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.6151, allocations: 0 / 467.7 MB, free: 14.66 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.252e-05/0.6151, allocations: 4 kB / 467.7 MB, free: 14.65 MB / 346.7 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.0004623/0.6156, allocations: 402.7 kB / 468.1 MB, free: 14.21 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.6156, allocations: 14.66 kB / 468.1 MB, free: 14.2 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.941e-05/0.6157, allocations: 15.81 kB / 468.1 MB, free: 14.19 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00021/0.6159, allocations: 199 kB / 468.3 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.6159, allocations: 4 kB / 468.3 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.493e-05/0.616, allocations: 20 kB / 468.3 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001814/0.6162, allocations: 71.98 kB / 468.4 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001996/0.6164, allocations: 114 kB / 468.5 MB, free: 13.74 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.6164, allocations: 0 / 468.5 MB, free: 13.74 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.6164, allocations: 3.953 kB / 468.5 MB, free: 13.74 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.6164, allocations: 4 kB / 468.5 MB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000769/0.6172, allocations: 0.4981 MB / 469 MB, free: 13.19 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/0.6174, allocations: 66.56 kB / 469.1 MB, free: 13.12 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.075e-05/0.6174, allocations: 24.81 kB / 469.1 MB, free: 13.09 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.6174, allocations: 4 kB / 469.1 MB, free: 13.09 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.6175, allocations: 34.56 kB / 469.1 MB, free: 13.04 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.062e-06/0.6175, allocations: 0 / 469.1 MB, free: 13.04 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.000848/0.6183, allocations: 0.5165 MB / 469.7 MB, free: 12.43 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.66e-05/0.6184, allocations: 59.41 kB / 469.7 MB, free: 12.36 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.6185, allocations: 120.9 kB / 469.8 MB, free: 12.24 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.889e-05/0.6186, allocations: 25.7 kB / 469.9 MB, free: 12.21 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.763e-05/0.6187, allocations: 135.9 kB / 470 MB, free: 12.07 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.749e-05/0.6187, allocations: 35.45 kB / 470 MB, free: 12.03 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.691e-06/0.6187, allocations: 0.75 kB / 470 MB, free: 12.03 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.6188, allocations: 322.8 kB / 470.3 MB, free: 11.71 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.376e-05/0.6189, allocations: 20 kB / 470.4 MB, free: 11.69 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.107e-05/0.619, allocations: 80.94 kB / 470.4 MB, free: 11.59 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.853e-05/0.6191, allocations: 39.81 kB / 470.5 MB, free: 11.55 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.6191, allocations: 4 kB / 470.5 MB, free: 11.54 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000207/0.6193, allocations: 129.4 kB / 470.6 MB, free: 11.41 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.6193, allocations: 5.094 kB / 470.6 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.6193, allocations: 4 kB / 470.6 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.6194, allocations: 0 / 470.6 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001722/0.6195, allocations: 39.92 kB / 470.7 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.687e-06/0.6196, allocations: 4 kB / 470.7 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.968e-05/0.6196, allocations: 12.17 kB / 470.7 MB, free: 11.35 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/0.6197, allocations: 8 kB / 470.7 MB, free: 11.34 MB / 346.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001123/0.6198, allocations: 108.9 kB / 470.8 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.519e-05/0.6198, allocations: 15.84 kB / 470.8 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.837e-05/0.6199, allocations: 8.625 kB / 470.8 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.6199, allocations: 0 / 470.8 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.6199, allocations: 0 / 470.8 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.6199, allocations: 4 kB / 470.8 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004838/0.6204, allocations: 400.5 kB / 471.2 MB, free: 10.76 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.6204, allocations: 0 / 471.2 MB, free: 10.76 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001356/0.6205, allocations: 27.98 kB / 471.2 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.6206, allocations: 0 / 471.2 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.6206, allocations: 0 / 471.2 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.6206, allocations: 4 kB / 471.2 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.6206, allocations: 4.062 kB / 471.2 MB, free: 10.72 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002741/0.6209, allocations: 248.5 kB / 471.5 MB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.23e-05/0.6209, allocations: 89.09 kB / 471.6 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.165e-05/0.621, allocations: 7.922 kB / 471.6 MB, free: 10.33 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.939e-05/0.6211, allocations: 8.25 kB / 471.6 MB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.056e-05/0.6211, allocations: 11.94 kB / 471.6 MB, free: 10.31 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.6211, allocations: 7.938 kB / 471.6 MB, free: 10.3 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.353e-05/0.6212, allocations: 96.11 kB / 471.7 MB, free: 10.21 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6212, allocations: 0 / 471.7 MB, free: 10.21 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000268/0.6215, allocations: 28 kB / 471.7 MB, free: 10.18 MB / 346.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001873/0.6217, allocations: 99.19 kB / 471.8 MB, free: 10.08 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001841/0.6219, allocations: 71.92 kB / 471.9 MB, free: 10.01 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.6219, allocations: 0 / 471.9 MB, free: 10.01 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.248e-05/0.6219, allocations: 31.94 kB / 471.9 MB, free: 9.977 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002685/0.6222, allocations: 13.75 kB / 471.9 MB, free: 9.965 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007659/0.623, allocations: 299.1 kB / 472.2 MB, free: 9.645 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003902/0.6234, allocations: 0.7157 MB / 472.9 MB, free: 8.902 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.885e-05/0.6235, allocations: 16.88 kB / 473 MB, free: 8.879 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.826e-05/0.6235, allocations: 11.44 kB / 473 MB, free: 8.867 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.6235, allocations: 0 / 473 MB, free: 8.867 MB / 346.7 MB Notification: Performance of Templates: time 0.003166/0.6267, allocations: 0.7583 MB / 473.7 MB, free: 8.113 MB / 346.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Sensors/Sensors.csv","../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches