Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.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.SignConvention,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention") translateModel(Modelica.Mechanics.Translational.Examples.SignConvention,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention") [: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.001939/0.001939, allocations: 195.5 kB / 8.536 MB, free: 1.82 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.504/1.504, allocations: 225.5 MB / 234.4 MB, free: 3.383 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009933/0.0009936, allocations: 91.16 kB / 286.3 MB, free: 5.254 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 9.658e-06/9.698e-06, allocations: 0 / 343.1 MB, free: 8.723 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1511, allocations: 51.48 MB / 394.6 MB, free: 5.195 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3994/0.5505, allocations: 76.55 MB / 471.2 MB, free: 14.7 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002533/0.5509, allocations: 69.92 kB / 471.2 MB, free: 14.68 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.006981/0.5579, allocations: 2.569 MB / 473.8 MB, free: 13.31 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.584e-05/0.5579, allocations: 4 kB / 473.8 MB, free: 13.31 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0004783/0.5584, allocations: 419 kB / 474.2 MB, free: 12.89 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.5585, allocations: 8.031 kB / 474.2 MB, free: 12.88 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.527e-05/0.5585, allocations: 19.72 kB / 474.2 MB, free: 12.86 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002283/0.5588, allocations: 213.6 kB / 474.4 MB, free: 12.63 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.5588, allocations: 4 kB / 474.4 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.461e-05/0.5588, allocations: 15.19 kB / 474.5 MB, free: 12.61 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001966/0.559, allocations: 85.19 kB / 474.5 MB, free: 12.56 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002153/0.5593, allocations: 153.3 kB / 474.7 MB, free: 12.44 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.5593, allocations: 3.906 kB / 474.7 MB, free: 12.43 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.95e-05/0.5593, allocations: 0 / 474.7 MB, free: 12.43 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.5594, allocations: 8 kB / 474.7 MB, free: 12.43 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00109/0.5604, allocations: 0.9032 MB / 475.6 MB, free: 11.61 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.5606, allocations: 96.94 kB / 475.7 MB, free: 11.5 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.012e-05/0.5606, allocations: 33.08 kB / 475.7 MB, free: 11.46 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.313e-05/0.5606, allocations: 7.984 kB / 475.7 MB, free: 11.46 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.5607, allocations: 37.5 kB / 475.8 MB, free: 11.41 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.513e-06/0.5607, allocations: 3.938 kB / 475.8 MB, free: 11.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002541/0.5609, allocations: 86.16 kB / 475.9 MB, free: 11.34 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/0.561, allocations: 102.8 kB / 476 MB, free: 11.21 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.5611, allocations: 150.1 kB / 476.1 MB, free: 11.09 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.5611, allocations: 29.7 kB / 476.1 MB, free: 11.05 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.518e-05/0.5612, allocations: 145.2 kB / 476.3 MB, free: 10.92 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.706e-05/0.5612, allocations: 45.28 kB / 476.3 MB, free: 10.89 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-06/0.5612, allocations: 0 / 476.3 MB, free: 10.89 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.203e-05/0.5613, allocations: 324.8 kB / 476.6 MB, free: 10.57 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.24e-05/0.5614, allocations: 33.34 kB / 476.7 MB, free: 10.55 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.242e-05/0.5615, allocations: 131.6 kB / 476.8 MB, free: 10.39 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.767e-05/0.5615, allocations: 55.64 kB / 476.9 MB, free: 10.36 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.5615, allocations: 0 / 476.9 MB, free: 10.36 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002195/0.5618, allocations: 185.4 kB / 477 MB, free: 10.22 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.5618, allocations: 8.75 kB / 477.1 MB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.5618, allocations: 4 kB / 477.1 MB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.5618, allocations: 4 kB / 477.1 MB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001517/0.562, allocations: 50.55 kB / 477.1 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.562, allocations: 7.938 kB / 477.1 MB, free: 10.15 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.89e-05/0.5621, allocations: 19.75 kB / 477.1 MB, free: 10.13 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.5621, allocations: 11.94 kB / 477.2 MB, free: 10.12 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * 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.792e-05/0.5622, allocations: 117.8 kB / 477.3 MB, free: 10 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.785e-05/0.5623, allocations: 14.34 kB / 477.3 MB, free: 9.992 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.104e-05/0.5623, allocations: 18.33 kB / 477.3 MB, free: 9.984 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.5623, allocations: 4 kB / 477.3 MB, free: 9.98 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.5624, allocations: 0 / 477.3 MB, free: 9.98 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.5624, allocations: 0 / 477.3 MB, free: 9.98 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003329/0.5627, allocations: 210 kB / 477.5 MB, free: 9.781 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.5627, allocations: 0 / 477.5 MB, free: 9.781 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001523/0.5629, allocations: 27.42 kB / 477.5 MB, free: 9.758 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.5629, allocations: 8.281 kB / 477.5 MB, free: 9.75 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.5629, allocations: 2.375 kB / 477.5 MB, free: 9.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.5629, allocations: 7.938 kB / 477.6 MB, free: 9.742 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.5629, allocations: 0 / 477.6 MB, free: 9.742 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002683/0.5632, allocations: 402.2 kB / 477.9 MB, free: 9.359 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.124e-05/0.5632, allocations: 92.86 kB / 478 MB, free: 9.25 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.644e-05/0.5633, allocations: 0 / 478 MB, free: 9.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001497/0.5634, allocations: 3.375 kB / 478 MB, free: 9.25 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.596e-05/0.5635, allocations: 10.45 kB / 478 MB, free: 9.246 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.5635, allocations: 4 kB / 478.1 MB, free: 9.242 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.82e-05/0.5635, allocations: 116.1 kB / 478.2 MB, free: 9.145 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003497/0.5639, allocations: 40.03 kB / 478.2 MB, free: 9.105 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (mass1.s,mass1.v,mass2.s,mass2.v,mass3.s,mass3.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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.0001333/0.564, allocations: 110.5 kB / 478.3 MB, free: 8.992 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001788/0.5642, allocations: 91.8 kB / 478.4 MB, free: 8.926 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.5642, allocations: 0 / 478.4 MB, free: 8.926 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.608e-05/0.5643, allocations: 34.81 kB / 478.4 MB, free: 8.898 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003665/0.5646, allocations: 20.86 kB / 478.5 MB, free: 8.887 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007852/0.5654, allocations: 0.5212 MB / 479 MB, free: 8.418 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002254/0.5657, allocations: 0.7478 MB / 479.7 MB, free: 7.676 MB / 346.7 MB Notification: Performance of SimCode: time 6.71e-07/0.5657, allocations: 4.109 kB / 479.7 MB, free: 7.672 MB / 346.7 MB Notification: Performance of Templates: time 0.003693/0.5694, allocations: 1.225 MB / 481 MB, free: 6.977 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches