Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002264/0.002264, allocations: 202.4 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.547/1.547, allocations: 225.6 MB / 234.8 MB, free: 3.262 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009473/0.0009474, allocations: 96.48 kB / 286.7 MB, free: 5.242 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.696e-05/3.666e-05, allocations: 0 / 343.7 MB, free: 8.309 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1476, allocations: 51.48 MB / 395.2 MB, free: 4.789 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4711/0.6188, allocations: 78.32 MB / 473.5 MB, free: 13.45 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003817/0.6193, allocations: 66.19 kB / 473.5 MB, free: 13.43 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008247/0.6275, allocations: 2.763 MB / 476.3 MB, free: 11.81 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.6276, allocations: 0 / 476.3 MB, free: 11.81 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.103e-05/0.6276, allocations: 4 kB / 476.3 MB, free: 11.81 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.0005103/0.6281, allocations: 402.2 kB / 476.7 MB, free: 11.4 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.996e-05/0.6282, allocations: 14.09 kB / 476.7 MB, free: 11.39 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001707/0.6284, allocations: 31 kB / 476.7 MB, free: 11.36 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001953/0.6286, allocations: 196.1 kB / 476.9 MB, free: 11.15 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.6286, allocations: 4 kB / 476.9 MB, free: 11.14 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.892e-05/0.6286, allocations: 12 kB / 476.9 MB, free: 11.13 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001802/0.6288, allocations: 76.84 kB / 477 MB, free: 11.09 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002108/0.6291, allocations: 110.5 kB / 477.1 MB, free: 11.01 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/0.6291, allocations: 7.094 kB / 477.1 MB, free: 11.01 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.701e-05/0.6291, allocations: 0 / 477.1 MB, free: 11.01 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/0.6291, allocations: 5.641 kB / 477.1 MB, free: 11 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007823/0.6299, allocations: 0.4958 MB / 477.6 MB, free: 10.6 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/0.63, allocations: 61.91 kB / 477.7 MB, free: 10.55 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.59e-05/0.6301, allocations: 23.55 kB / 477.7 MB, free: 10.53 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.6301, allocations: 0 / 477.7 MB, free: 10.53 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/0.6302, allocations: 37.81 kB / 477.8 MB, free: 10.48 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.943e-06/0.6302, allocations: 7.922 kB / 477.8 MB, free: 10.48 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008241/0.631, allocations: 0.5281 MB / 478.3 MB, free: 9.922 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.955e-05/0.631, allocations: 51.41 kB / 478.3 MB, free: 9.859 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.6312, allocations: 113.6 kB / 478.5 MB, free: 9.754 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.6312, allocations: 25.7 kB / 478.5 MB, free: 9.723 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.495e-05/0.6313, allocations: 141.1 kB / 478.6 MB, free: 9.598 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.752e-05/0.6313, allocations: 35.59 kB / 478.7 MB, free: 9.57 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-06/0.6313, allocations: 4 kB / 478.7 MB, free: 9.566 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.411e-05/0.6314, allocations: 325.6 kB / 479 MB, free: 9.246 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.778e-05/0.6315, allocations: 23.5 kB / 479 MB, free: 9.234 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.551e-05/0.6316, allocations: 75.78 kB / 479.1 MB, free: 9.152 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.888e-05/0.6316, allocations: 39.2 kB / 479.1 MB, free: 9.129 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.6316, allocations: 0 / 479.1 MB, free: 9.129 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001738/0.6318, allocations: 125.6 kB / 479.2 MB, free: 9.027 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.6319, allocations: 4 kB / 479.2 MB, free: 9.023 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.6319, allocations: 4.188 kB / 479.2 MB, free: 9.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.6319, allocations: 4 kB / 479.2 MB, free: 9.016 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001953/0.6321, allocations: 40.81 kB / 479.3 MB, free: 8.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.6321, allocations: 0 / 479.3 MB, free: 8.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.472e-05/0.6322, allocations: 17 kB / 479.3 MB, free: 8.969 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.6322, allocations: 13.44 kB / 479.3 MB, free: 8.961 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 7.266e-05/0.6323, allocations: 106.5 kB / 479.4 MB, free: 8.852 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.757e-05/0.6323, allocations: 7.906 kB / 479.4 MB, free: 8.844 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.248e-05/0.6324, allocations: 17.41 kB / 479.4 MB, free: 8.832 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.6324, allocations: 0 / 479.4 MB, free: 8.832 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.6324, allocations: 0 / 479.4 MB, free: 8.832 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/0.6324, allocations: 0 / 479.4 MB, free: 8.832 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004333/0.6329, allocations: 395.2 kB / 479.8 MB, free: 8.469 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.6329, allocations: 1.172 kB / 479.8 MB, free: 8.469 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001421/0.633, allocations: 31.77 kB / 479.9 MB, free: 8.441 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.633, allocations: 0 / 479.9 MB, free: 8.441 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.6331, allocations: 0 / 479.9 MB, free: 8.441 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.6331, allocations: 5.406 kB / 479.9 MB, free: 8.438 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/0.6331, allocations: 7.891 kB / 479.9 MB, free: 8.43 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003029/0.6334, allocations: 249.2 kB / 480.1 MB, free: 8.191 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.028e-05/0.6334, allocations: 90.5 kB / 480.2 MB, free: 8.086 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.6335, allocations: 0 / 480.2 MB, free: 8.086 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.397e-05/0.6336, allocations: 5.547 kB / 480.2 MB, free: 8.082 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.422e-05/0.6336, allocations: 7.234 kB / 480.2 MB, free: 8.078 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.6336, allocations: 4 kB / 480.2 MB, free: 8.074 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.316e-05/0.6337, allocations: 93.53 kB / 480.3 MB, free: 7.992 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.683e-06/0.6337, allocations: 64 / 480.3 MB, free: 7.992 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002634/0.634, allocations: 35.88 kB / 480.4 MB, free: 7.957 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.0001534/0.6341, allocations: 101.9 kB / 480.5 MB, free: 7.852 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002026/0.6343, allocations: 74.64 kB / 480.5 MB, free: 7.801 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.6343, allocations: 0 / 480.5 MB, free: 7.801 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.835e-05/0.6344, allocations: 27.19 kB / 480.6 MB, free: 7.781 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003435/0.6348, allocations: 15.86 kB / 480.6 MB, free: 7.77 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000614/0.6354, allocations: 290.9 kB / 480.9 MB, free: 7.508 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003368/0.6357, allocations: 0.7187 MB / 481.6 MB, free: 6.781 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.886e-05/0.6358, allocations: 13.11 kB / 481.6 MB, free: 6.77 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.93e-05/0.6358, allocations: 11.44 kB / 481.6 MB, free: 6.758 MB / 346.7 MB Notification: Performance of SimCode: time 2.51e-07/0.6358, allocations: 0 / 481.6 MB, free: 6.758 MB / 346.7 MB Notification: Performance of Templates: time 0.00347/0.6393, allocations: 0.7603 MB / 482.4 MB, free: 6.328 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches