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.0008714/0.0008714, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001275/0.002146, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001155/0.001155, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001503/0.002657, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.9811/0.9811, allocations: 177.4 MB / 189.9 MB, free: 4.824 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08653/1.068, allocations: 53.87 MB / 243.7 MB, free: 14.89 MB / 250.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.192e-06/1.192e-06, allocations: 0 / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.723e-05/1.842e-05, allocations: 2.312 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003219/0.003237, allocations: 2.3 MB / 247.3 MB, free: 11.32 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000485/0.003722, allocations: 215.1 kB / 247.5 MB, free: 11.11 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.888e-05/0.003811, allocations: 4 kB / 247.5 MB, free: 11.11 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.31e-05/0.003884, allocations: 35.64 kB / 247.6 MB, free: 11.07 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001371/0.004021, allocations: 63.36 kB / 247.6 MB, free: 11.01 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001198/0.004141, allocations: 51.92 kB / 247.7 MB, free: 10.96 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002252/0.004367, allocations: 246.8 kB / 247.9 MB, free: 10.72 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001545/0.004521, allocations: 73.64 kB / 248 MB, free: 10.65 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001954/0.004716, allocations: 159.6 kB / 248.1 MB, free: 10.49 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.004837, allocations: 75.78 kB / 248.2 MB, free: 10.42 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.671e-05/0.004874, allocations: 20 kB / 248.2 MB, free: 10.4 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.266e-05/0.004907, allocations: 24 kB / 248.3 MB, free: 10.38 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.749e-05/0.004944, allocations: 39.81 kB / 248.3 MB, free: 10.34 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.676e-05/0.005021, allocations: 63.88 kB / 248.4 MB, free: 10.27 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002205/0.005241, allocations: 147.5 kB / 248.5 MB, free: 10.13 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.356e-05/0.005255, allocations: 4 kB / 248.5 MB, free: 10.12 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.005256, allocations: 0 / 248.5 MB, free: 10.12 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.482e-05/0.005271, allocations: 0 / 248.5 MB, free: 10.12 MB / 250.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.0006026/0.005873, allocations: 464.1 kB / 249 MB, free: 9.645 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.005905, allocations: 12.62 kB / 249 MB, free: 9.633 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.841e-05/0.005964, allocations: 40.91 kB / 249 MB, free: 9.594 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001641/0.006128, allocations: 141.5 kB / 249.1 MB, free: 9.43 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.006147, allocations: 16.88 kB / 249.2 MB, free: 9.414 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.771e-05/0.006185, allocations: 32.27 kB / 249.2 MB, free: 9.383 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002273/0.006412, allocations: 184 kB / 249.4 MB, free: 9.184 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.006425, allocations: 192 / 249.4 MB, free: 9.184 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.797e-05/0.006443, allocations: 12.38 kB / 249.4 MB, free: 9.172 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.006451, allocations: 4.375 kB / 249.4 MB, free: 9.168 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001144/0.006565, allocations: 67.06 kB / 249.5 MB, free: 9.105 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008185/0.007384, allocations: 0.6755 MB / 250.1 MB, free: 8.398 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001483/0.007532, allocations: 111.9 kB / 250.2 MB, free: 8.262 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.744e-05/0.00759, allocations: 38.56 kB / 250.3 MB, free: 8.215 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.09e-05/0.0076, allocations: 4 kB / 250.3 MB, free: 8.211 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.007629, allocations: 38.56 kB / 250.3 MB, free: 8.164 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.663e-06/0.007631, allocations: 0 / 250.3 MB, free: 8.164 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002326/0.007863, allocations: 105.7 kB / 250.4 MB, free: 8.055 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.25e-05/0.007916, allocations: 110.8 kB / 250.5 MB, free: 7.922 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.008039, allocations: 171.2 kB / 250.7 MB, free: 7.738 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.008056, allocations: 29.7 kB / 250.7 MB, free: 7.703 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.466e-05/0.008141, allocations: 164.2 kB / 250.9 MB, free: 7.535 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.272e-05/0.008193, allocations: 75.41 kB / 251 MB, free: 7.461 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.557e-05/0.008259, allocations: 45.97 kB / 251 MB, free: 7.406 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.709e-05/0.008356, allocations: 326.8 kB / 251.3 MB, free: 7.078 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.23e-05/0.008398, allocations: 20.55 kB / 251.3 MB, free: 7.059 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001102/0.008508, allocations: 135.3 kB / 251.5 MB, free: 6.879 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000176/0.008684, allocations: 170.1 kB / 251.6 MB, free: 6.664 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.008687, allocations: 4 kB / 251.6 MB, free: 6.66 MB / 250.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000237/0.008924, allocations: 169.2 kB / 251.8 MB, free: 6.488 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.008941, allocations: 8 kB / 251.8 MB, free: 6.48 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.00895, allocations: 8 kB / 251.8 MB, free: 6.473 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.008962, allocations: 4.438 kB / 251.8 MB, free: 6.469 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002654/0.009228, allocations: 83.11 kB / 251.9 MB, free: 6.391 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.009238, allocations: 11.92 kB / 251.9 MB, free: 6.379 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001075/0.009346, allocations: 27.84 kB / 252 MB, free: 6.352 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.334e-05/0.009359, allocations: 8 kB / 252 MB, free: 6.344 MB / 250.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.353e-05/0.009453, allocations: 125.7 kB / 252.1 MB, free: 6.211 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.804e-05/0.009521, allocations: 15.98 kB / 252.1 MB, free: 6.195 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.181e-05/0.009563, allocations: 21.47 kB / 252.1 MB, free: 6.18 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.009566, allocations: 0 / 252.1 MB, free: 6.18 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.009571, allocations: 11.88 kB / 252.1 MB, free: 6.168 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.009578, allocations: 7.984 kB / 252.1 MB, free: 6.16 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004143/0.009992, allocations: 277.1 kB / 252.4 MB, free: 5.855 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.009995, allocations: 0 / 252.4 MB, free: 5.855 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001959/0.01019, allocations: 47.91 kB / 252.5 MB, free: 5.809 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.584e-05/0.01022, allocations: 19.84 kB / 252.5 MB, free: 5.789 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.01022, allocations: 0 / 252.5 MB, free: 5.789 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.01023, allocations: 8 kB / 252.5 MB, free: 5.781 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.01024, allocations: 0 / 252.5 MB, free: 5.781 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.01024, allocations: 4 kB / 252.5 MB, free: 5.777 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002738/0.01051, allocations: 313.2 kB / 252.8 MB, free: 5.445 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.154e-05/0.01054, allocations: 0 / 252.8 MB, free: 5.445 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/0.01066, allocations: 8 kB / 252.8 MB, free: 5.438 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.423e-05/0.01068, allocations: 11.97 kB / 252.8 MB, free: 5.426 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.415e-06/0.01069, allocations: 4 kB / 252.8 MB, free: 5.422 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.746e-05/0.01074, allocations: 45.5 kB / 252.9 MB, free: 5.375 MB / 250.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01074, allocations: 0 / 252.9 MB, free: 5.375 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000349/0.01109, allocations: 55.89 kB / 252.9 MB, free: 5.32 MB / 250.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 9.357e-05/0.01118, allocations: 80.36 kB / 253 MB, free: 5.23 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001862/0.01137, allocations: 117.1 kB / 253.1 MB, free: 5.113 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.41e-05/0.01138, allocations: 4 kB / 253.1 MB, free: 5.109 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.449e-05/0.01144, allocations: 40.72 kB / 253.2 MB, free: 5.066 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003703/0.01181, allocations: 48.98 kB / 253.2 MB, free: 5.02 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/0.0129, allocations: 418.3 kB / 253.6 MB, free: 4.57 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.798e-05/0.01294, allocations: 75.98 kB / 253.7 MB, free: 4.477 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.081e-05/0.013, allocations: 25.84 kB / 253.7 MB, free: 4.453 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.862e-05/0.01308, allocations: 75.38 kB / 253.8 MB, free: 4.379 MB / 250.7 MB Notification: Performance of SimCode: time 1.092e-06/0.01308, allocations: 0 / 253.8 MB, free: 4.379 MB / 250.7 MB Notification: Performance of Templates: time 0.003267/0.01635, allocations: 1.706 MB / 255.5 MB, free: 2.707 MB / 250.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 -ignoreHideResult -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.45938419084996]