Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.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.WhyArrows,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inertia2.s|inertia2.v|mass1.s|mass1.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows") translateModel(Modelica.Mechanics.Translational.Examples.WhyArrows,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inertia2.s|inertia2.v|mass1.s|mass1.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows") [: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.002384/0.002384, allocations: 202.9 kB / 8.542 MB, free: 1.809 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.486/1.486, allocations: 225.5 MB / 234.4 MB, free: 14.96 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001165/0.001164, allocations: 105.5 kB / 286.4 MB, free: 12.58 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 9.377e-06/1.008e-05, allocations: 0 / 343.1 MB, free: 3.773 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3493, allocations: 51.46 MB / 394.6 MB, free: 33.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1139/0.4633, allocations: 76.72 MB / 471.3 MB, free: 4.363 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002881/0.4637, allocations: 68.58 kB / 471.4 MB, free: 4.297 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.00929/0.473, allocations: 3.243 MB / 474.6 MB, free: 1.055 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.056e-05/0.4731, allocations: 4 kB / 474.6 MB, free: 1.051 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.000731/0.4738, allocations: 462.3 kB / 475.1 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.83e-05/0.4739, allocations: 8.031 kB / 475.1 MB, free: 0.543 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.817e-05/0.4739, allocations: 27.72 kB / 475.1 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002134/0.4742, allocations: 194.7 kB / 475.3 MB, free: 292 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/0.4742, allocations: 4 kB / 475.3 MB, free: 288 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.997e-05/0.4743, allocations: 17.41 kB / 475.3 MB, free: 272 kB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002868/0.4745, allocations: 109 kB / 475.4 MB, free: 164 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004076/0.475, allocations: 198.5 kB / 475.6 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.359e-05/0.475, allocations: 3.906 kB / 475.6 MB, free: 15.94 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.319e-05/0.475, allocations: 0 / 475.6 MB, free: 15.94 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/0.475, allocations: 4 kB / 475.6 MB, free: 15.94 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001267/0.4763, allocations: 0.8171 MB / 476.5 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002168/0.4765, allocations: 138.1 kB / 476.6 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.743e-05/0.4767, allocations: 54.56 kB / 476.6 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.4767, allocations: 7.906 kB / 476.7 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.4767, allocations: 34.56 kB / 476.7 MB, free: 14.8 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 1.533e-06/0.4767, allocations: 0 / 476.7 MB, free: 14.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.000328/0.4771, allocations: 119.3 kB / 476.8 MB, free: 14.68 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.085e-05/0.4771, allocations: 110.8 kB / 476.9 MB, free: 14.55 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000173/0.4773, allocations: 152 kB / 477.1 MB, free: 14.39 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.4774, allocations: 26.83 kB / 477.1 MB, free: 14.36 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.431e-05/0.4775, allocations: 151.9 kB / 477.2 MB, free: 14.21 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.004e-05/0.4775, allocations: 63.09 kB / 477.3 MB, free: 14.15 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.724e-06/0.4775, allocations: 0 / 477.3 MB, free: 14.15 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.4777, allocations: 326.8 kB / 477.6 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.715e-05/0.4778, allocations: 44.56 kB / 477.7 MB, free: 13.78 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001531/0.4779, allocations: 142.5 kB / 477.8 MB, free: 13.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001097/0.478, allocations: 64.75 kB / 477.9 MB, free: 13.53 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.478, allocations: 4 kB / 477.9 MB, free: 13.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003038/0.4783, allocations: 202.1 kB / 478.1 MB, free: 13.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.4784, allocations: 8 kB / 478.1 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.4784, allocations: 448 / 478.1 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.4784, allocations: 12.94 kB / 478.1 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002293/0.4787, allocations: 59.91 kB / 478.1 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.443e-05/0.4787, allocations: 9.031 kB / 478.2 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001299/0.4788, allocations: 23.69 kB / 478.2 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.605e-05/0.4788, allocations: 12 kB / 478.2 MB, free: 13.2 MB / 362.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 (33): * Single equations (assignments): 33 * 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.0001203/0.479, allocations: 116.8 kB / 478.3 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.776e-05/0.4791, allocations: 15.81 kB / 478.3 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.226e-05/0.4791, allocations: 21.39 kB / 478.3 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.767e-06/0.4791, allocations: 4 kB / 478.3 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/0.4792, allocations: 4 kB / 478.3 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.4792, allocations: 1.031 kB / 478.3 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000548/0.4797, allocations: 377.4 kB / 478.7 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.4797, allocations: 0 / 478.7 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002217/0.48, allocations: 39.92 kB / 478.8 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.501e-06/0.48, allocations: 4 kB / 478.8 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.48, allocations: 12.08 kB / 478.8 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.48, allocations: 4 kB / 478.8 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.48, allocations: 0 / 478.8 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000432/0.4805, allocations: 399.4 kB / 479.2 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.992e-05/0.4806, allocations: 101 kB / 479.3 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.381e-05/0.4806, allocations: 7.922 kB / 479.3 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/0.4807, allocations: 3.938 kB / 479.3 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.689e-05/0.4808, allocations: 11.98 kB / 479.3 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-06/0.4808, allocations: 7.938 kB / 479.3 MB, free: 11.97 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.226e-05/0.4809, allocations: 124.2 kB / 479.4 MB, free: 11.85 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003987/0.4813, allocations: 55.75 kB / 479.5 MB, free: 11.79 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (inertia2.s,inertia2.v,mass1.s,mass1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0001943/0.4815, allocations: 95.25 kB / 479.6 MB, free: 11.69 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002354/0.4817, allocations: 123.8 kB / 479.7 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.4817, allocations: 0.875 kB / 479.7 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.985e-05/0.4818, allocations: 48.48 kB / 479.7 MB, free: 11.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.4822, allocations: 20.17 kB / 479.8 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009187/0.4831, allocations: 467.8 kB / 480.2 MB, free: 11.02 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003819/0.4835, allocations: 0.7589 MB / 481 MB, free: 10.23 MB / 362.7 MB Notification: Performance of SimCode: time 2.7e-07/0.4835, allocations: 0 / 481 MB, free: 10.23 MB / 362.7 MB Notification: Performance of Templates: time 0.004575/0.4881, allocations: 1.537 MB / 482.5 MB, free: 8.711 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches