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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001424/0.001424, allocations: 199.3 kB / 8.537 MB, free: 1.816 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.533/1.533, allocations: 225.5 MB / 234.4 MB, free: 3.309 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001152/0.001152, allocations: 94.33 kB / 286.3 MB, free: 5.293 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.209e-05/1.225e-05, allocations: 3.938 kB / 343.1 MB, free: 8.68 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1355, allocations: 51.48 MB / 394.6 MB, free: 5.152 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.36/0.4957, allocations: 78.24 MB / 472.9 MB, free: 13.39 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002882/0.496, allocations: 71.98 kB / 472.9 MB, free: 13.36 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.007171/0.5032, allocations: 2.452 MB / 475.4 MB, free: 12.06 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.392e-05/0.5033, allocations: 0 / 475.4 MB, free: 12.06 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.000498/0.5038, allocations: 408.9 kB / 475.8 MB, free: 11.64 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.306e-05/0.5039, allocations: 12.03 kB / 475.8 MB, free: 11.63 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001825/0.504, allocations: 30.72 kB / 475.8 MB, free: 11.61 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002223/0.5043, allocations: 199.7 kB / 476 MB, free: 11.39 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.5043, allocations: 6.953 kB / 476 MB, free: 11.38 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.53e-05/0.5043, allocations: 12 kB / 476 MB, free: 11.37 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000205/0.5046, allocations: 71.92 kB / 476.1 MB, free: 11.33 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002053/0.5048, allocations: 105.7 kB / 476.2 MB, free: 11.25 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.163e-05/0.5048, allocations: 0 / 476.2 MB, free: 11.25 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.839e-05/0.5048, allocations: 3.906 kB / 476.2 MB, free: 11.25 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.5048, allocations: 4 kB / 476.2 MB, free: 11.25 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007951/0.5056, allocations: 0.4968 MB / 476.7 MB, free: 10.85 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.205e-05/0.5057, allocations: 54.14 kB / 476.8 MB, free: 10.8 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.081e-05/0.5058, allocations: 27.36 kB / 476.8 MB, free: 10.78 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.5058, allocations: 0 / 476.8 MB, free: 10.78 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.5059, allocations: 37.19 kB / 476.8 MB, free: 10.74 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 9.82e-07/0.5059, allocations: 0.75 kB / 476.8 MB, free: 10.74 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008116/0.5067, allocations: 0.5323 MB / 477.4 MB, free: 10.18 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.521e-05/0.5067, allocations: 51.41 kB / 477.4 MB, free: 10.11 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.64e-05/0.5068, allocations: 119 kB / 477.5 MB, free: 10 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.5068, allocations: 25.7 kB / 477.5 MB, free: 9.973 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.02e-05/0.5069, allocations: 130.1 kB / 477.7 MB, free: 9.852 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.829e-05/0.5069, allocations: 41.42 kB / 477.7 MB, free: 9.824 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.382e-06/0.507, allocations: 4 kB / 477.7 MB, free: 9.82 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.659e-05/0.507, allocations: 318.1 kB / 478 MB, free: 9.504 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.614e-05/0.5071, allocations: 24.83 kB / 478.1 MB, free: 9.492 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.34e-05/0.5072, allocations: 73.28 kB / 478.1 MB, free: 9.41 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.122e-05/0.5072, allocations: 41.19 kB / 478.2 MB, free: 9.387 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.5072, allocations: 0 / 478.2 MB, free: 9.387 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001733/0.5074, allocations: 125.7 kB / 478.3 MB, free: 9.285 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.5074, allocations: 8 kB / 478.3 MB, free: 9.277 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.5075, allocations: 4 kB / 478.3 MB, free: 9.277 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.35e-05/0.5075, allocations: 8 kB / 478.3 MB, free: 9.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001706/0.5077, allocations: 37.75 kB / 478.3 MB, free: 9.238 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.5077, allocations: 4 kB / 478.3 MB, free: 9.234 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.451e-05/0.5078, allocations: 4 kB / 478.4 MB, free: 9.23 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.5078, allocations: 15.2 kB / 478.4 MB, free: 9.223 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 6.652e-05/0.5079, allocations: 104.9 kB / 478.5 MB, free: 9.113 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.206e-05/0.5079, allocations: 15.81 kB / 478.5 MB, free: 9.098 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.446e-05/0.5079, allocations: 14.91 kB / 478.5 MB, free: 9.094 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.508, allocations: 2.062 kB / 478.5 MB, free: 9.094 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.508, allocations: 0 / 478.5 MB, free: 9.094 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.508, allocations: 0 / 478.5 MB, free: 9.094 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003857/0.5084, allocations: 391.5 kB / 478.9 MB, free: 8.734 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.5084, allocations: 4.062 kB / 478.9 MB, free: 8.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001425/0.5085, allocations: 26.33 kB / 478.9 MB, free: 8.711 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.5085, allocations: 4 kB / 478.9 MB, free: 8.707 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.5086, allocations: 0 / 478.9 MB, free: 8.707 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.5086, allocations: 0 / 478.9 MB, free: 8.707 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.5086, allocations: 7.938 kB / 478.9 MB, free: 8.699 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002324/0.5088, allocations: 247 kB / 479.2 MB, free: 8.457 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.892e-05/0.5089, allocations: 92.03 kB / 479.3 MB, free: 8.355 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.85e-05/0.509, allocations: 0 / 479.3 MB, free: 8.355 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.655e-05/0.5091, allocations: 4 kB / 479.3 MB, free: 8.352 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.157e-05/0.5091, allocations: 11.42 kB / 479.3 MB, free: 8.344 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/0.5091, allocations: 0 / 479.3 MB, free: 8.344 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.005e-05/0.5092, allocations: 103.3 kB / 479.4 MB, free: 8.254 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002643/0.5095, allocations: 27.94 kB / 479.4 MB, free: 8.227 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.0001542/0.5096, allocations: 106.2 kB / 479.5 MB, free: 8.117 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001695/0.5098, allocations: 67.09 kB / 479.6 MB, free: 8.07 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.644e-06/0.5098, allocations: 0 / 479.6 MB, free: 8.07 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.073e-05/0.5099, allocations: 38.25 kB / 479.6 MB, free: 8.043 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002712/0.5101, allocations: 11.44 kB / 479.6 MB, free: 8.035 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000584/0.5107, allocations: 278.3 kB / 479.9 MB, free: 7.777 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002253/0.511, allocations: 0.7371 MB / 480.6 MB, free: 7.035 MB / 346.7 MB Notification: Performance of SimCode: time 2.9e-07/0.511, allocations: 0 / 480.6 MB, free: 7.035 MB / 346.7 MB Notification: Performance of Templates: time 0.003351/0.5143, allocations: 0.8817 MB / 481.5 MB, free: 6.535 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