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.001875/0.001875, allocations: 99.53 kB / 20.96 MB, free: 3.453 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.001942/0.001942, allocations: 164.8 kB / 24.27 MB, free: 152 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 1.609/1.609, allocations: 177 MB / 204.4 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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 4.057e-06/4.057e-06, allocations: 3.984 kB / 272.2 MB, free: 1.828 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.273e-05/2.679e-05, allocations: 2.312 kB / 272.2 MB, free: 1.824 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003875/0.003902, allocations: 2.25 MB / 274.4 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004544/0.004357, allocations: 195.3 kB / 274.6 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.847e-05/0.004445, allocations: 4 kB / 274.6 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.756e-05/0.004533, allocations: 39.64 kB / 274.7 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000176/0.004709, allocations: 63.36 kB / 274.7 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001598/0.004868, allocations: 47.92 kB / 274.8 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002943/0.005163, allocations: 242.8 kB / 275 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001896/0.005352, allocations: 86.94 kB / 275.1 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002051/0.005557, allocations: 143.7 kB / 275.2 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000151/0.005708, allocations: 71.8 kB / 275.3 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.611e-05/0.005755, allocations: 24 kB / 275.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.329e-05/0.005798, allocations: 20 kB / 275.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.719e-05/0.005855, allocations: 51.81 kB / 275.4 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001225/0.005978, allocations: 79.81 kB / 275.5 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003654/0.006343, allocations: 255.2 kB / 275.7 MB, free: 14.26 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.006348, allocations: 4 kB / 275.7 MB, free: 14.26 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.006349, allocations: 3.938 kB / 275.7 MB, free: 14.25 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.006355, allocations: 4 kB / 275.7 MB, free: 14.25 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.0008785/0.007234, allocations: 0.5428 MB / 276.3 MB, free: 13.67 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.007273, allocations: 15.97 kB / 276.3 MB, free: 13.65 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.136e-05/0.007364, allocations: 44.8 kB / 276.3 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002376/0.007602, allocations: 160.3 kB / 276.5 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.561e-05/0.007627, allocations: 20.88 kB / 276.5 MB, free: 13.4 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.921e-05/0.007677, allocations: 28.33 kB / 276.5 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004649/0.008141, allocations: 251.3 kB / 276.8 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.008158, allocations: 192 / 276.8 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.524e-05/0.008183, allocations: 12.38 kB / 276.8 MB, free: 13.1 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.008191, allocations: 4.375 kB / 276.8 MB, free: 13.1 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002735/0.008465, allocations: 139.8 kB / 276.9 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001582/0.01005, allocations: 0.9698 MB / 277.9 MB, free: 11.94 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002958/0.01034, allocations: 189.2 kB / 278.1 MB, free: 11.72 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/0.01045, allocations: 67.05 kB / 278.2 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.01047, allocations: 0 / 278.2 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.532e-05/0.01051, allocations: 41.39 kB / 278.2 MB, free: 11.59 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.022e-06/0.01051, allocations: 0 / 278.2 MB, free: 11.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.000436/0.01095, allocations: 170.2 kB / 278.4 MB, free: 11.42 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.799e-05/0.01104, allocations: 114.8 kB / 278.5 MB, free: 11.28 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002452/0.01129, allocations: 254.5 kB / 278.7 MB, free: 11.01 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.01132, allocations: 29.7 kB / 278.8 MB, free: 10.98 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/0.01147, allocations: 219 kB / 279 MB, free: 10.76 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.624e-05/0.01155, allocations: 75.42 kB / 279 MB, free: 10.68 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.658e-05/0.01165, allocations: 59.64 kB / 279.1 MB, free: 10.61 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002848/0.01193, allocations: 0.504 MB / 279.6 MB, free: 10.1 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.555e-05/0.01203, allocations: 44.55 kB / 279.7 MB, free: 10.05 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002494/0.01228, allocations: 212.5 kB / 279.9 MB, free: 9.781 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003659/0.01264, allocations: 278.9 kB / 280.1 MB, free: 9.441 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.01265, allocations: 0 / 280.1 MB, free: 9.441 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004379/0.01308, allocations: 257.1 kB / 280.4 MB, free: 9.184 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.0131, allocations: 8 kB / 280.4 MB, free: 9.176 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.01311, allocations: 4 kB / 280.4 MB, free: 9.172 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.01313, allocations: 4 kB / 280.4 MB, free: 9.168 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002308/0.01336, allocations: 63.91 kB / 280.5 MB, free: 9.105 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.616e-05/0.01338, allocations: 12.31 kB / 280.5 MB, free: 9.094 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001362/0.01351, allocations: 27.84 kB / 280.5 MB, free: 9.066 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.083e-05/0.01353, allocations: 12 kB / 280.5 MB, free: 9.055 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 0.000165/0.0137, allocations: 188.5 kB / 280.7 MB, free: 8.859 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.498e-05/0.01378, allocations: 19.91 kB / 280.7 MB, free: 8.84 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.478e-05/0.01385, allocations: 25.45 kB / 280.7 MB, free: 8.812 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.01385, allocations: 4 kB / 280.7 MB, free: 8.809 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.01386, allocations: 3.938 kB / 280.7 MB, free: 8.805 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.01387, allocations: 4 kB / 280.8 MB, free: 8.801 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006179/0.01449, allocations: 432.3 kB / 281.2 MB, free: 8.324 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.01449, allocations: 0 / 281.2 MB, free: 8.324 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002069/0.01469, allocations: 39.91 kB / 281.2 MB, free: 8.285 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.0147, allocations: 7.938 kB / 281.2 MB, free: 8.277 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.75e-05/0.01473, allocations: 8 kB / 281.2 MB, free: 8.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.01473, allocations: 0 / 281.2 MB, free: 8.27 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.748e-06/0.01473, allocations: 4 kB / 281.2 MB, free: 8.266 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005175/0.01525, allocations: 477.9 kB / 281.7 MB, free: 7.766 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.257e-05/0.01528, allocations: 19.84 kB / 281.7 MB, free: 7.746 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.063e-05/0.01531, allocations: 7.984 kB / 281.7 MB, free: 7.738 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001313/0.01544, allocations: 12.06 kB / 281.7 MB, free: 7.727 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.504e-05/0.01548, allocations: 11.98 kB / 281.8 MB, free: 7.715 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.418e-06/0.01549, allocations: 7.938 kB / 281.8 MB, free: 7.707 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001454/0.01563, allocations: 172.8 kB / 281.9 MB, free: 7.539 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01563, allocations: 0 / 281.9 MB, free: 7.539 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003625/0.016, allocations: 51.89 kB / 282 MB, free: 7.488 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 0.0001324/0.01613, allocations: 107.1 kB / 282.1 MB, free: 7.379 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003023/0.01643, allocations: 159.7 kB / 282.2 MB, free: 7.219 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.01643, allocations: 0 / 282.2 MB, free: 7.219 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000102/0.01654, allocations: 68.17 kB / 282.3 MB, free: 7.148 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004493/0.01699, allocations: 47.2 kB / 282.4 MB, free: 7.105 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009362/0.01792, allocations: 0.5198 MB / 282.9 MB, free: 6.539 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001416/0.01806, allocations: 129.2 kB / 283 MB, free: 6.391 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.137e-05/0.01814, allocations: 17.64 kB / 283 MB, free: 6.371 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.546e-05/0.01819, allocations: 16.5 kB / 283 MB, free: 6.355 MB / 266.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01819, allocations: 0 / 283 MB, free: 6.355 MB / 266.7 MB Notification: Performance of Templates: time 0.005313/0.0235, allocations: 1.434 MB / 284.5 MB, free: 4.945 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.293196349986829]