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.001318/0.001318, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.001572/0.001572, allocations: 163.4 kB / 24.91 MB, free: 8.715 MB / 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.9268/0.9268, allocations: 177 MB / 205.2 MB, free: 5.059 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.603e-06/1.603e-06, allocations: 0 / 273.4 MB, free: 1.047 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.358e-05/2.519e-05, allocations: 5.266 kB / 273.4 MB, free: 1.043 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003762/0.003787, allocations: 2.288 MB / 275.7 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006619/0.004449, allocations: 211.1 kB / 275.9 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001267/0.004576, allocations: 7.938 kB / 275.9 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.515e-05/0.004671, allocations: 35.66 kB / 276 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002218/0.004893, allocations: 67.34 kB / 276 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000187/0.005079, allocations: 51.86 kB / 276.1 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002777/0.005357, allocations: 242.8 kB / 276.3 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001823/0.00554, allocations: 81.62 kB / 276.4 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002168/0.005756, allocations: 147.7 kB / 276.5 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001479/0.005904, allocations: 71.78 kB / 276.6 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.991e-05/0.005944, allocations: 20 kB / 276.6 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.343e-05/0.005978, allocations: 20 kB / 276.6 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.55e-05/0.006023, allocations: 51.83 kB / 276.7 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.95e-05/0.006103, allocations: 75.83 kB / 276.8 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002347/0.006337, allocations: 163.4 kB / 276.9 MB, free: 13.51 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.00634, allocations: 0 / 276.9 MB, free: 13.51 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.006341, allocations: 0 / 276.9 MB, free: 13.51 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.134e-06/0.006348, allocations: 0 / 276.9 MB, free: 13.51 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.0005653/0.006913, allocations: 424.4 kB / 277.3 MB, free: 13.07 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.006949, allocations: 15.98 kB / 277.4 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.74e-05/0.007016, allocations: 36.91 kB / 277.4 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001781/0.007194, allocations: 141.5 kB / 277.5 MB, free: 12.86 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.007214, allocations: 16.88 kB / 277.5 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.989e-05/0.007254, allocations: 32.33 kB / 277.6 MB, free: 12.81 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002357/0.00749, allocations: 184 kB / 277.8 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.007506, allocations: 4.188 kB / 277.8 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.759e-05/0.007524, allocations: 12.38 kB / 277.8 MB, free: 12.6 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.007534, allocations: 8.375 kB / 277.8 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001238/0.007658, allocations: 70.77 kB / 277.9 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008319/0.00849, allocations: 0.6558 MB / 278.5 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001577/0.008647, allocations: 116 kB / 278.6 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.564e-05/0.008703, allocations: 34.58 kB / 278.7 MB, free: 11.65 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.28e-05/0.008716, allocations: 7.938 kB / 278.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.008746, allocations: 38.56 kB / 278.7 MB, free: 11.6 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 2.174e-06/0.008748, allocations: 0 / 278.7 MB, free: 11.6 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002517/0.009, allocations: 102.3 kB / 278.8 MB, free: 11.49 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.332e-05/0.009053, allocations: 114.8 kB / 278.9 MB, free: 11.36 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.009189, allocations: 171.4 kB / 279.1 MB, free: 11.17 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.009205, allocations: 29.7 kB / 279.1 MB, free: 11.14 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.271e-05/0.009288, allocations: 160.1 kB / 279.3 MB, free: 10.97 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.014e-05/0.009338, allocations: 71.41 kB / 279.3 MB, free: 10.9 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.388e-05/0.009412, allocations: 57.86 kB / 279.4 MB, free: 10.84 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.00952, allocations: 330.8 kB / 279.7 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.542e-05/0.009566, allocations: 16.56 kB / 279.7 MB, free: 10.49 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001193/0.009685, allocations: 138.8 kB / 279.9 MB, free: 10.3 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001976/0.009883, allocations: 181.5 kB / 280 MB, free: 10.08 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.009887, allocations: 4 kB / 280 MB, free: 10.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002564/0.01014, allocations: 161.3 kB / 280.2 MB, free: 9.91 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.01016, allocations: 8 kB / 280.2 MB, free: 9.902 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.01017, allocations: 7.938 kB / 280.2 MB, free: 9.895 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.01019, allocations: 4 kB / 280.2 MB, free: 9.891 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002666/0.01046, allocations: 67.84 kB / 280.3 MB, free: 9.824 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.01047, allocations: 8.438 kB / 280.3 MB, free: 9.816 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001248/0.01059, allocations: 31.83 kB / 280.3 MB, free: 9.785 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.568e-05/0.01061, allocations: 8 kB / 280.3 MB, free: 9.777 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 9.044e-05/0.0107, allocations: 121.8 kB / 280.5 MB, free: 9.648 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.139e-05/0.01077, allocations: 15.98 kB / 280.5 MB, free: 9.633 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.813e-05/0.01082, allocations: 25.45 kB / 280.5 MB, free: 9.609 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.01082, allocations: 3.938 kB / 280.5 MB, free: 9.605 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.01083, allocations: 7.938 kB / 280.5 MB, free: 9.598 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.01083, allocations: 0 / 280.5 MB, free: 9.598 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004456/0.01128, allocations: 277.2 kB / 280.8 MB, free: 9.293 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.01128, allocations: 4 kB / 280.8 MB, free: 9.289 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002129/0.01149, allocations: 35.98 kB / 280.8 MB, free: 9.254 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/0.0115, allocations: 7.938 kB / 280.8 MB, free: 9.246 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.977e-05/0.01152, allocations: 11.98 kB / 280.8 MB, free: 9.234 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.648e-06/0.01152, allocations: 3.938 kB / 280.8 MB, free: 9.23 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.01153, allocations: 0 / 280.8 MB, free: 9.23 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003022/0.01183, allocations: 305.2 kB / 281.1 MB, free: 8.906 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.891e-05/0.01186, allocations: 19.78 kB / 281.2 MB, free: 8.887 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.729e-05/0.01188, allocations: 8 kB / 281.2 MB, free: 8.879 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.01202, allocations: 8.062 kB / 281.2 MB, free: 8.871 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.914e-05/0.01205, allocations: 16.16 kB / 281.2 MB, free: 8.855 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.734e-06/0.01206, allocations: 0 / 281.2 MB, free: 8.855 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.326e-05/0.01211, allocations: 46.44 kB / 281.2 MB, free: 8.809 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01212, allocations: 0 / 281.2 MB, free: 8.809 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003891/0.0125, allocations: 59.89 kB / 281.3 MB, free: 8.75 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.0001102/0.01261, allocations: 80.36 kB / 281.4 MB, free: 8.66 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001927/0.01281, allocations: 116.8 kB / 281.5 MB, free: 8.543 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/0.01281, allocations: 0 / 281.5 MB, free: 8.543 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.971e-05/0.01287, allocations: 40.38 kB / 281.5 MB, free: 8.504 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003985/0.01327, allocations: 48.02 kB / 281.6 MB, free: 8.461 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007573/0.01403, allocations: 447 kB / 282 MB, free: 7.988 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.125e-05/0.01408, allocations: 79.98 kB / 282.1 MB, free: 7.891 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.167e-05/0.01414, allocations: 17.64 kB / 282.1 MB, free: 7.871 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.234e-05/0.01422, allocations: 79.36 kB / 282.2 MB, free: 7.793 MB / 266.7 MB Notification: Performance of SimCode: time 8.52e-07/0.01423, allocations: 0 / 282.2 MB, free: 7.793 MB / 266.7 MB Notification: Performance of Templates: time 0.003477/0.0177, allocations: 1.652 MB / 283.8 MB, free: 6.172 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 -s gbode -gbm=radauIIA3 -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.519801729824394]