Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009583/0.0009583, allocations: 179.4 kB / 18.04 MB, free: 3.66 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.377/1.377, allocations: 205.4 MB / 224.2 MB, free: 9.008 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007827/0.0007828, allocations: 93.16 kB / 272.5 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000317/0.0003172, allocations: 8 kB / 329.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2225/0.2229, allocations: 47.58 MB / 377 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08566/0.3086, allocations: 75.61 MB / 452.6 MB, free: 4.926 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002223/0.3088, allocations: 71.95 kB / 452.7 MB, free: 4.855 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00883/0.3177, allocations: 3.437 MB / 456.1 MB, free: 1.402 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3177, allocations: 0 / 456.1 MB, free: 1.402 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.409e-05/0.3178, allocations: 8 kB / 456.2 MB, free: 1.395 MB / 330.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.000608/0.3184, allocations: 471.3 kB / 456.6 MB, free: 0.8828 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.3184, allocations: 8.031 kB / 456.6 MB, free: 0.875 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.196e-05/0.3185, allocations: 32.66 kB / 456.7 MB, free: 0.8438 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001601/0.3187, allocations: 191.3 kB / 456.8 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.158e-05/0.3188, allocations: 20.94 kB / 456.9 MB, free: 0.5977 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.786e-05/0.3188, allocations: 20.31 kB / 456.9 MB, free: 0.5781 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003906/0.3192, allocations: 232.9 kB / 457.1 MB, free: 340 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.28e-05/0.3193, allocations: 8.094 kB / 457.1 MB, free: 332 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.393e-05/0.3193, allocations: 11.94 kB / 457.1 MB, free: 320 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.524e-05/0.3193, allocations: 8 kB / 457.1 MB, free: 312 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002444/0.3196, allocations: 127.9 kB / 457.3 MB, free: 184 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001197/0.3208, allocations: 0.8788 MB / 458.1 MB, free: 15.24 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002152/0.321, allocations: 155.8 kB / 458.3 MB, free: 15.06 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.888e-05/0.3211, allocations: 62.55 kB / 458.3 MB, free: 14.99 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/0.3211, allocations: 8 kB / 458.4 MB, free: 14.98 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.3212, allocations: 38.44 kB / 458.4 MB, free: 14.94 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 1.482e-06/0.3212, allocations: 0 / 458.4 MB, free: 14.94 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003655/0.3215, allocations: 165.7 kB / 458.6 MB, free: 14.77 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.96e-05/0.3216, allocations: 106.8 kB / 458.7 MB, free: 14.64 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001877/0.3218, allocations: 190.3 kB / 458.8 MB, free: 14.45 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.3218, allocations: 29.7 kB / 458.9 MB, free: 14.41 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.948e-05/0.3219, allocations: 163.9 kB / 459 MB, free: 14.25 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.954e-05/0.322, allocations: 63.09 kB / 459.1 MB, free: 14.18 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.738e-06/0.322, allocations: 4 kB / 459.1 MB, free: 14.18 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.3221, allocations: 330.8 kB / 459.4 MB, free: 13.85 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.169e-05/0.3222, allocations: 52.48 kB / 459.5 MB, free: 13.79 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001555/0.3224, allocations: 154.8 kB / 459.6 MB, free: 13.59 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002715/0.3227, allocations: 219 kB / 459.8 MB, free: 13.33 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/0.3227, allocations: 0 / 459.8 MB, free: 13.33 MB / 346.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003649/0.3231, allocations: 245.1 kB / 460.1 MB, free: 13.09 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.3231, allocations: 11.94 kB / 460.1 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.3231, allocations: 7.938 kB / 460.1 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.3232, allocations: 4 kB / 460.1 MB, free: 13.06 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002051/0.3234, allocations: 59.91 kB / 460.2 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.3234, allocations: 7.938 kB / 460.2 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001351/0.3235, allocations: 40.03 kB / 460.2 MB, free: 12.96 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.757e-05/0.3236, allocations: 12 kB / 460.2 MB, free: 12.95 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 () * 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.0001117/0.3237, allocations: 141.7 kB / 460.4 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.355e-05/0.3238, allocations: 23.73 kB / 460.4 MB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.173e-05/0.3238, allocations: 21.41 kB / 460.4 MB, free: 12.76 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.3238, allocations: 4 kB / 460.4 MB, free: 12.75 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.3238, allocations: 0 / 460.4 MB, free: 12.75 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.3238, allocations: 7.984 kB / 460.4 MB, free: 12.75 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005038/0.3244, allocations: 416.9 kB / 460.8 MB, free: 12.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3244, allocations: 0 / 460.8 MB, free: 12.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001902/0.3246, allocations: 43.92 kB / 460.9 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.3246, allocations: 0 / 460.9 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.3246, allocations: 4 kB / 460.9 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.3246, allocations: 0 / 460.9 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.3246, allocations: 4 kB / 460.9 MB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003773/0.325, allocations: 385 kB / 461.2 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.405e-05/0.3251, allocations: 92.86 kB / 461.3 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.858e-05/0.3251, allocations: 8 kB / 461.3 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.3253, allocations: 11.94 kB / 461.4 MB, free: 11.69 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.928e-05/0.3253, allocations: 19.97 kB / 461.4 MB, free: 11.67 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.096e-06/0.3253, allocations: 4.281 kB / 461.4 MB, free: 11.67 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001104/0.3254, allocations: 144.3 kB / 461.5 MB, free: 11.53 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.3254, allocations: 0 / 461.5 MB, free: 11.53 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000364/0.3258, allocations: 55.84 kB / 461.6 MB, free: 11.47 MB / 346.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.0001261/0.3259, allocations: 103.2 kB / 461.7 MB, free: 11.36 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002335/0.3262, allocations: 135.9 kB / 461.8 MB, free: 11.23 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3262, allocations: 0 / 461.8 MB, free: 11.23 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.286e-05/0.3263, allocations: 51.92 kB / 461.9 MB, free: 11.18 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004948/0.3268, allocations: 27.97 kB / 461.9 MB, free: 11.15 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.3279, allocations: 0.731 MB / 462.6 MB, free: 10.39 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/0.3282, allocations: 0.7362 MB / 463.4 MB, free: 9.625 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001053/0.3283, allocations: 21.95 kB / 463.4 MB, free: 9.598 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.574e-05/0.3284, allocations: 15.44 kB / 463.4 MB, free: 9.582 MB / 346.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3284, allocations: 0 / 463.4 MB, free: 9.582 MB / 346.7 MB Notification: Performance of Templates: time 0.004063/0.3324, allocations: 1.412 MB / 464.8 MB, free: 8.18 MB / 346.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches