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/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009681/0.0009681, allocations: 91.5 kB / 21.2 MB, free: 3.375 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009631/0.0009631, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9036/0.9036, allocations: 177 MB / 204.8 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.WhyArrows,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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=1000,variableFilter="time|inertia2.s|inertia2.v|mass1.s|mass1.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 3.938 kB / 272.9 MB, free: 1.492 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.322e-05/1.452e-05, allocations: 5.266 kB / 272.9 MB, free: 1.488 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.002111/0.002126, allocations: 2.27 MB / 275.2 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003576/0.002483, allocations: 203.2 kB / 275.4 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.361e-05/0.002557, allocations: 4 kB / 275.4 MB, free: 15 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.686e-05/0.002624, allocations: 35.64 kB / 275.4 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001177/0.002742, allocations: 63.36 kB / 275.5 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001423/0.002884, allocations: 55.86 kB / 275.5 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001783/0.003062, allocations: 242.8 kB / 275.8 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001504/0.003213, allocations: 75.02 kB / 275.8 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001412/0.003354, allocations: 147.7 kB / 276 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.00346, allocations: 75.78 kB / 276.1 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.669e-05/0.003497, allocations: 20 kB / 276.1 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.529e-05/0.003522, allocations: 27.94 kB / 276.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.301e-05/0.003555, allocations: 43.83 kB / 276.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002952/0.00385, allocations: 79.83 kB / 276.2 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001661/0.004016, allocations: 159.4 kB / 276.4 MB, free: 13.99 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.764e-06/0.004018, allocations: 0 / 276.4 MB, free: 13.99 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.004018, allocations: 0 / 276.4 MB, free: 13.99 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.887e-06/0.004022, allocations: 0 / 276.4 MB, free: 13.99 MB / 266.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.000484/0.004506, allocations: 0.5392 MB / 276.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.004538, allocations: 11.98 kB / 276.9 MB, free: 13.4 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.958e-05/0.004597, allocations: 44.8 kB / 277 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.004748, allocations: 168.2 kB / 277.1 MB, free: 13.17 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.004763, allocations: 16.88 kB / 277.2 MB, free: 13.15 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.118e-05/0.004794, allocations: 28.38 kB / 277.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002197/0.005014, allocations: 199.4 kB / 277.4 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.005027, allocations: 8.172 kB / 277.4 MB, free: 12.9 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.005042, allocations: 8.375 kB / 277.4 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.005053, allocations: 8.375 kB / 277.4 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001214/0.005174, allocations: 82.77 kB / 277.5 MB, free: 12.81 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007075/0.005881, allocations: 0.915 MB / 278.4 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001421/0.006024, allocations: 153.3 kB / 278.5 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.527e-05/0.006079, allocations: 55.19 kB / 278.6 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.016e-05/0.006089, allocations: 4 kB / 278.6 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.006112, allocations: 41.33 kB / 278.6 MB, free: 11.54 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.133e-06/0.006113, allocations: 0 / 278.6 MB, free: 11.54 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002311/0.006344, allocations: 138 kB / 278.8 MB, free: 11.39 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/0.006379, allocations: 110.7 kB / 278.9 MB, free: 11.26 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.006492, allocations: 230.8 kB / 279.1 MB, free: 11.02 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.408e-06/0.006501, allocations: 25.7 kB / 279.1 MB, free: 10.98 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.133e-05/0.006572, allocations: 214.9 kB / 279.3 MB, free: 10.77 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.349e-05/0.006606, allocations: 67.42 kB / 279.4 MB, free: 10.7 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.115e-05/0.006657, allocations: 59.61 kB / 279.5 MB, free: 10.63 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.78e-05/0.006755, allocations: 0.4962 MB / 280 MB, free: 10.12 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.308e-05/0.006798, allocations: 28.48 kB / 280 MB, free: 10.1 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.837e-05/0.006896, allocations: 180 kB / 280.2 MB, free: 9.855 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001685/0.007065, allocations: 230.8 kB / 280.4 MB, free: 9.562 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.007069, allocations: 4 kB / 280.4 MB, free: 9.559 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002221/0.007291, allocations: 217.2 kB / 280.6 MB, free: 9.34 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.007305, allocations: 10.81 kB / 280.6 MB, free: 9.332 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.00731, allocations: 4 kB / 280.6 MB, free: 9.328 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.007325, allocations: 4 kB / 280.6 MB, free: 9.324 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.007447, allocations: 59.92 kB / 280.7 MB, free: 9.266 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.096e-06/0.007455, allocations: 16.3 kB / 280.7 MB, free: 9.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.645e-05/0.007521, allocations: 31.78 kB / 280.7 MB, free: 9.219 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.007532, allocations: 12 kB / 280.7 MB, free: 9.207 MB / 266.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.133e-05/0.007603, allocations: 168.5 kB / 280.9 MB, free: 9.031 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.275e-05/0.007646, allocations: 23.91 kB / 280.9 MB, free: 9.008 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.094e-05/0.007677, allocations: 21.47 kB / 281 MB, free: 8.988 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.007681, allocations: 7.984 kB / 281 MB, free: 8.98 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.007685, allocations: 3.938 kB / 281 MB, free: 8.977 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.007688, allocations: 0 / 281 MB, free: 8.977 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002978/0.007986, allocations: 388.3 kB / 281.3 MB, free: 8.543 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.00799, allocations: 12.03 kB / 281.4 MB, free: 8.531 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000103/0.008093, allocations: 35.98 kB / 281.4 MB, free: 8.496 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.008098, allocations: 7.938 kB / 281.4 MB, free: 8.488 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.008111, allocations: 7.984 kB / 281.4 MB, free: 8.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.008112, allocations: 0 / 281.4 MB, free: 8.48 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.008113, allocations: 0 / 281.4 MB, free: 8.48 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002532/0.008367, allocations: 437.9 kB / 281.8 MB, free: 8.02 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.68e-05/0.008383, allocations: 20.08 kB / 281.9 MB, free: 8 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.008401, allocations: 4 kB / 281.9 MB, free: 7.996 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.417e-05/0.008465, allocations: 7.938 kB / 281.9 MB, free: 7.988 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.324e-05/0.008488, allocations: 23.95 kB / 281.9 MB, free: 7.965 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.008493, allocations: 7.938 kB / 281.9 MB, free: 7.957 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.494e-05/0.008548, allocations: 156.8 kB / 282.1 MB, free: 7.805 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008548, allocations: 0 / 282.1 MB, free: 7.805 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002199/0.008768, allocations: 59.89 kB / 282.1 MB, free: 7.746 MB / 266.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.361e-05/0.008832, allocations: 95.19 kB / 282.2 MB, free: 7.645 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001636/0.008995, allocations: 123.9 kB / 282.3 MB, free: 7.52 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.008997, allocations: 0 / 282.3 MB, free: 7.52 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.595e-05/0.009043, allocations: 56.17 kB / 282.4 MB, free: 7.461 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002802/0.009323, allocations: 36.86 kB / 282.4 MB, free: 7.426 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005422/0.009865, allocations: 0.5116 MB / 282.9 MB, free: 6.867 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.525e-05/0.00991, allocations: 83.98 kB / 283 MB, free: 6.766 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.146e-05/0.009962, allocations: 13.64 kB / 283 MB, free: 6.75 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000268/0.01023, allocations: 24.5 kB / 283 MB, free: 6.727 MB / 266.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01023, allocations: 0 / 283 MB, free: 6.727 MB / 266.7 MB Notification: Performance of Templates: time 0.002946/0.01318, allocations: 1.504 MB / 284.6 MB, free: 5.25 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.532100305892527]