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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001407/0.001407, allocations: 198.9 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.203/1.203, allocations: 227.2 MB / 245 MB, free: 7.484 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001031/0.001031, allocations: 99.8 kB / 297.3 MB, free: 6.168 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002297/0.0002297, allocations: 8 kB / 357.9 MB, free: 9.527 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.201/0.2012, allocations: 51.48 MB / 409.4 MB, free: 26.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08555/0.2868, allocations: 77.52 MB / 486.9 MB, free: 13.1 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001529/0.287, allocations: 68.75 kB / 487 MB, free: 13.04 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008296/0.2953, allocations: 3.565 MB / 490.6 MB, free: 9.461 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2953, allocations: 0 / 490.6 MB, free: 9.461 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.2954, allocations: 8 kB / 490.6 MB, free: 9.453 MB / 362.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.000473/0.2958, allocations: 479.1 kB / 491 MB, free: 8.934 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.031e-05/0.2959, allocations: 8.031 kB / 491 MB, free: 8.926 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.59e-05/0.2959, allocations: 23.72 kB / 491.1 MB, free: 8.902 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.2961, allocations: 194.7 kB / 491.3 MB, free: 8.672 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.2961, allocations: 12.56 kB / 491.3 MB, free: 8.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.837e-05/0.2961, allocations: 24 kB / 491.3 MB, free: 8.637 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003119/0.2964, allocations: 236.2 kB / 491.5 MB, free: 8.387 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/0.2965, allocations: 8 kB / 491.5 MB, free: 8.379 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.804e-05/0.2965, allocations: 4 kB / 491.5 MB, free: 8.375 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.2965, allocations: 8 kB / 491.5 MB, free: 8.367 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002008/0.2967, allocations: 129 kB / 491.7 MB, free: 8.242 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009525/0.2977, allocations: 0.8713 MB / 492.5 MB, free: 7.309 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001851/0.2979, allocations: 160.6 kB / 492.7 MB, free: 7.125 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.014e-05/0.2979, allocations: 4 kB / 492.7 MB, free: 7.121 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/0.2979, allocations: 42.56 kB / 492.7 MB, free: 7.07 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 1.242e-06/0.2979, allocations: 0 / 492.7 MB, free: 7.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003149/0.2982, allocations: 174.1 kB / 492.9 MB, free: 6.895 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/0.2983, allocations: 106.8 kB / 493 MB, free: 6.766 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/0.2985, allocations: 182.1 kB / 493.2 MB, free: 6.578 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.2985, allocations: 37.7 kB / 493.2 MB, free: 6.535 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.675e-05/0.2986, allocations: 152 kB / 493.4 MB, free: 6.383 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.68e-05/0.2986, allocations: 67.08 kB / 493.4 MB, free: 6.316 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.826e-06/0.2986, allocations: 8 kB / 493.5 MB, free: 6.309 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.2988, allocations: 326.8 kB / 493.8 MB, free: 5.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.568e-05/0.2989, allocations: 44.55 kB / 493.8 MB, free: 5.934 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000135/0.299, allocations: 159.3 kB / 494 MB, free: 5.73 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001064/0.2991, allocations: 76.06 kB / 494 MB, free: 5.656 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.2991, allocations: 0 / 494 MB, free: 5.656 MB / 362.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000312/0.2994, allocations: 245 kB / 494.3 MB, free: 5.41 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.2995, allocations: 8 kB / 494.3 MB, free: 5.402 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.2995, allocations: 4 kB / 494.3 MB, free: 5.398 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.2995, allocations: 4 kB / 494.3 MB, free: 5.395 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001975/0.2997, allocations: 59.91 kB / 494.4 MB, free: 5.336 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.2997, allocations: 7.953 kB / 494.4 MB, free: 5.328 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/0.2998, allocations: 28.12 kB / 494.4 MB, free: 5.301 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.509e-05/0.2999, allocations: 20 kB / 494.4 MB, free: 5.281 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 () * Number of clocked 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.0001104/0.3, allocations: 145.7 kB / 494.6 MB, free: 5.129 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.506e-05/0.3, allocations: 15.81 kB / 494.6 MB, free: 5.113 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.011e-05/0.3001, allocations: 25.39 kB / 494.6 MB, free: 5.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.3001, allocations: 4 kB / 494.6 MB, free: 5.086 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.3001, allocations: 0 / 494.6 MB, free: 5.086 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.3001, allocations: 3.953 kB / 494.6 MB, free: 5.082 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000447/0.3006, allocations: 420.9 kB / 495 MB, free: 4.605 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.3006, allocations: 4 kB / 495 MB, free: 4.602 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001776/0.3008, allocations: 39.92 kB / 495.1 MB, free: 4.562 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.3008, allocations: 4 kB / 495.1 MB, free: 4.559 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.3008, allocations: 7.953 kB / 495.1 MB, free: 4.551 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.3008, allocations: 0 / 495.1 MB, free: 4.551 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3008, allocations: 3.938 kB / 495.1 MB, free: 4.547 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003467/0.3012, allocations: 427.5 kB / 495.5 MB, free: 4.078 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.407e-05/0.3012, allocations: 100.9 kB / 495.6 MB, free: 3.961 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.611e-05/0.3013, allocations: 8 kB / 495.6 MB, free: 3.953 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.3014, allocations: 0 / 495.6 MB, free: 3.953 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.741e-05/0.3014, allocations: 15.94 kB / 495.6 MB, free: 3.938 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-06/0.3015, allocations: 8 kB / 495.6 MB, free: 3.93 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.24e-05/0.3015, allocations: 135.2 kB / 495.8 MB, free: 3.797 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3016, allocations: 0 / 495.8 MB, free: 3.797 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003257/0.3019, allocations: 59.84 kB / 495.8 MB, free: 3.738 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 () * Number of clocked 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.0001209/0.302, allocations: 107.2 kB / 495.9 MB, free: 3.621 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002135/0.3022, allocations: 135.7 kB / 496.1 MB, free: 3.488 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3022, allocations: 0 / 496.1 MB, free: 3.488 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.725e-05/0.3023, allocations: 52.92 kB / 496.1 MB, free: 3.438 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002979/0.3026, allocations: 30.75 kB / 496.1 MB, free: 3.41 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009403/0.3036, allocations: 0.726 MB / 496.9 MB, free: 2.656 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.3038, allocations: 0.7362 MB / 497.6 MB, free: 1.895 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.693e-05/0.3039, allocations: 17.95 kB / 497.6 MB, free: 1.871 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.352e-05/0.3039, allocations: 19.44 kB / 497.6 MB, free: 1.852 MB / 362.7 MB Notification: Performance of SimCode: time 2.41e-07/0.304, allocations: 4 kB / 497.6 MB, free: 1.848 MB / 362.7 MB Notification: Performance of Templates: time 0.003323/0.3073, allocations: 1.397 MB / 499 MB, free: 476 kB / 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