Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001569/0.002659, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009689/0.0009689, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001344/0.002313, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9547/0.9547, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07244/1.027, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.757e-05/1.873e-05, allocations: 6.25 kB / 244.5 MB, free: 14.33 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.002102/0.002121, allocations: 2.304 MB / 246.8 MB, free: 12.01 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002171/0.002338, allocations: 199.1 kB / 247 MB, free: 11.82 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.887e-05/0.002397, allocations: 11.94 kB / 247 MB, free: 11.8 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.289e-05/0.002449, allocations: 39.64 kB / 247.1 MB, free: 11.77 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.258e-05/0.002532, allocations: 59.42 kB / 247.1 MB, free: 11.71 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.945e-05/0.002611, allocations: 51.86 kB / 247.2 MB, free: 11.66 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001555/0.002767, allocations: 250.8 kB / 247.4 MB, free: 11.41 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.00289, allocations: 73.64 kB / 247.5 MB, free: 11.34 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.003014, allocations: 159.7 kB / 247.6 MB, free: 11.18 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.601e-05/0.00311, allocations: 79.78 kB / 247.7 MB, free: 11.1 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.306e-05/0.003143, allocations: 24 kB / 247.7 MB, free: 11.08 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.113e-05/0.003165, allocations: 20 kB / 247.8 MB, free: 11.06 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.712e-05/0.003192, allocations: 39.81 kB / 247.8 MB, free: 11.02 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.265e-05/0.003244, allocations: 67.88 kB / 247.9 MB, free: 10.95 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001627/0.003407, allocations: 143.5 kB / 248 MB, free: 10.81 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.371e-05/0.003421, allocations: 0 / 248 MB, free: 10.81 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.003422, allocations: 0 / 248 MB, free: 10.81 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.417e-05/0.003436, allocations: 0 / 248 MB, free: 10.81 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.0004654/0.003901, allocations: 472.1 kB / 248.5 MB, free: 10.32 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.715e-05/0.003928, allocations: 8.031 kB / 248.5 MB, free: 10.32 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.138e-05/0.00397, allocations: 40.84 kB / 248.5 MB, free: 10.28 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.004097, allocations: 137.5 kB / 248.7 MB, free: 10.12 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.004112, allocations: 20.88 kB / 248.7 MB, free: 10.1 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.807e-05/0.00414, allocations: 24.33 kB / 248.7 MB, free: 10.07 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001605/0.004301, allocations: 191.9 kB / 248.9 MB, free: 9.867 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.004312, allocations: 4.188 kB / 248.9 MB, free: 9.863 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.004324, allocations: 8.375 kB / 248.9 MB, free: 9.855 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.00433, allocations: 8.375 kB / 248.9 MB, free: 9.848 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.317e-05/0.004403, allocations: 63.48 kB / 249 MB, free: 9.789 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005339/0.004937, allocations: 0.6678 MB / 249.6 MB, free: 9.09 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.899e-05/0.005036, allocations: 103.9 kB / 249.7 MB, free: 8.961 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.773e-05/0.005074, allocations: 38.58 kB / 249.8 MB, free: 8.914 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.958e-06/0.005084, allocations: 7.984 kB / 249.8 MB, free: 8.906 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/0.005104, allocations: 38.66 kB / 249.8 MB, free: 8.859 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.202e-06/0.005106, allocations: 0 / 249.8 MB, free: 8.859 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0001556/0.005261, allocations: 105.6 kB / 249.9 MB, free: 8.75 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/0.005301, allocations: 110.8 kB / 250 MB, free: 8.617 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.452e-05/0.005386, allocations: 175.8 kB / 250.2 MB, free: 8.43 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.588e-06/0.005395, allocations: 29.7 kB / 250.2 MB, free: 8.395 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.832e-05/0.005454, allocations: 168.2 kB / 250.4 MB, free: 8.223 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.43e-05/0.005488, allocations: 71.41 kB / 250.5 MB, free: 8.152 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.1e-05/0.005529, allocations: 49.97 kB / 250.5 MB, free: 8.094 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.863e-05/0.005598, allocations: 326.8 kB / 250.8 MB, free: 7.766 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.345e-05/0.005621, allocations: 20.55 kB / 250.9 MB, free: 7.746 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.471e-05/0.005686, allocations: 128.8 kB / 251 MB, free: 7.574 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000113/0.005799, allocations: 181.4 kB / 251.2 MB, free: 7.348 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.005801, allocations: 0 / 251.2 MB, free: 7.348 MB / 250.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001375/0.005939, allocations: 169.4 kB / 251.3 MB, free: 7.176 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.00595, allocations: 7.594 kB / 251.3 MB, free: 7.172 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.005956, allocations: 4 kB / 251.3 MB, free: 7.168 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.769e-06/0.005966, allocations: 4 kB / 251.3 MB, free: 7.164 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001798/0.006146, allocations: 79.97 kB / 251.4 MB, free: 7.086 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.00615, allocations: 4.781 kB / 251.4 MB, free: 7.082 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.872e-05/0.006209, allocations: 28.2 kB / 251.5 MB, free: 7.055 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.006218, allocations: 16 kB / 251.5 MB, free: 7.039 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 6.072e-05/0.006278, allocations: 133.7 kB / 251.6 MB, free: 6.898 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.049e-05/0.006319, allocations: 15.97 kB / 251.6 MB, free: 6.883 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.102e-05/0.00635, allocations: 21.47 kB / 251.6 MB, free: 6.867 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.006353, allocations: 4 kB / 251.6 MB, free: 6.863 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.554e-06/0.006355, allocations: 3.938 kB / 251.6 MB, free: 6.859 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.006359, allocations: 3.984 kB / 251.6 MB, free: 6.855 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002405/0.0066, allocations: 277.1 kB / 251.9 MB, free: 6.551 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.006601, allocations: 0 / 251.9 MB, free: 6.551 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001161/0.006717, allocations: 50.81 kB / 252 MB, free: 6.504 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.363e-05/0.006731, allocations: 15.89 kB / 252 MB, free: 6.488 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.006733, allocations: 0 / 252 MB, free: 6.488 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.998e-06/0.006743, allocations: 8 kB / 252 MB, free: 6.48 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.006744, allocations: 0 / 252 MB, free: 6.48 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.006747, allocations: 7.938 kB / 252 MB, free: 6.473 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000161/0.006908, allocations: 305.1 kB / 252.3 MB, free: 6.148 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.006923, allocations: 8 kB / 252.3 MB, free: 6.141 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.585e-05/0.006988, allocations: 4 kB / 252.3 MB, free: 6.137 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.579e-05/0.007004, allocations: 19.91 kB / 252.3 MB, free: 6.117 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.618e-06/0.007009, allocations: 7.938 kB / 252.3 MB, free: 6.109 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.866e-05/0.007037, allocations: 45.73 kB / 252.4 MB, free: 6.062 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007038, allocations: 0 / 252.4 MB, free: 6.062 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001804/0.007218, allocations: 59.88 kB / 252.4 MB, free: 6.004 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 6.945e-05/0.007287, allocations: 80.42 kB / 252.5 MB, free: 5.914 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001119/0.007399, allocations: 113.9 kB / 252.6 MB, free: 5.801 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.646e-06/0.007408, allocations: 0 / 252.6 MB, free: 5.801 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.322e-05/0.007441, allocations: 48.77 kB / 252.7 MB, free: 5.75 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/0.00766, allocations: 43.92 kB / 252.7 MB, free: 5.707 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008388/0.008498, allocations: 418.5 kB / 253.1 MB, free: 5.258 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.385e-05/0.008542, allocations: 75.98 kB / 253.2 MB, free: 5.164 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.121e-05/0.008593, allocations: 17.64 kB / 253.2 MB, free: 5.148 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.103e-05/0.008664, allocations: 79.36 kB / 253.3 MB, free: 5.07 MB / 250.7 MB Notification: Performance of SimCode: time 5.31e-07/0.008665, allocations: 0 / 253.3 MB, free: 5.07 MB / 250.7 MB Notification: Performance of Templates: time 0.002965/0.01163, allocations: 1.714 MB / 255 MB, free: 3.395 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.356058059260249]