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.001679/0.001679, allocations: 99.66 kB / 21.18 MB, free: 0.5273 MB / 14.72 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.002504/0.002504, allocations: 214.1 kB / 24.48 MB, free: 3.84 MB / 14.72 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 1.519/1.519, allocations: 230.6 MB / 258.2 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001773/0.001773, allocations: 51.92 kB / 379 MB, free: 2.488 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2815/0.2832, allocations: 53.36 MB / 432.3 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.006404/0.2896, allocations: 2.127 MB / 434.5 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000871/0.2905, allocations: 203.3 kB / 434.6 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001769/0.2907, allocations: 4 kB / 434.7 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001659/0.2909, allocations: 35.66 kB / 434.7 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003165/0.2912, allocations: 67.34 kB / 434.8 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003105/0.2915, allocations: 59.92 kB / 434.8 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004822/0.292, allocations: 227 kB / 435 MB, free: 4.027 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000343/0.2923, allocations: 81.95 kB / 435.1 MB, free: 3.949 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002217/0.2925, allocations: 87.72 kB / 435.2 MB, free: 3.863 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002742/0.2928, allocations: 91.53 kB / 435.3 MB, free: 3.773 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.87e-05/0.2929, allocations: 20 kB / 435.3 MB, free: 3.754 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.795e-05/0.293, allocations: 20 kB / 435.3 MB, free: 3.734 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.252e-05/0.293, allocations: 47.84 kB / 435.4 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001844/0.2932, allocations: 91.59 kB / 435.5 MB, free: 3.598 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004904/0.2937, allocations: 270.5 kB / 435.7 MB, free: 3.336 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.2937, allocations: 4 kB / 435.7 MB, free: 3.332 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.928e-06/0.2937, allocations: 4 kB / 435.7 MB, free: 3.328 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.799e-06/0.2937, allocations: 0 / 435.7 MB, free: 3.328 MB / 334.1 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.001194/0.2949, allocations: 441.8 kB / 436.2 MB, free: 2.863 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/0.295, allocations: 8.031 kB / 436.2 MB, free: 2.855 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001049/0.2951, allocations: 28.8 kB / 436.2 MB, free: 2.828 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003645/0.2955, allocations: 162.2 kB / 436.4 MB, free: 2.645 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.811e-05/0.2955, allocations: 16.88 kB / 436.4 MB, free: 2.629 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.287e-05/0.2956, allocations: 24.38 kB / 436.4 MB, free: 2.605 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006759/0.2963, allocations: 228 kB / 436.6 MB, free: 2.363 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.551e-05/0.2963, allocations: 4.188 kB / 436.6 MB, free: 2.359 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.995e-05/0.2963, allocations: 11.94 kB / 436.6 MB, free: 2.348 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.692e-05/0.2963, allocations: 8 kB / 436.6 MB, free: 2.34 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004509/0.2968, allocations: 131.9 kB / 436.8 MB, free: 2.211 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001876/0.2987, allocations: 0.7437 MB / 437.5 MB, free: 1.422 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000436/0.2991, allocations: 143.7 kB / 437.7 MB, free: 1.254 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001935/0.2993, allocations: 58.56 kB / 437.7 MB, free: 1.188 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.636e-05/0.2993, allocations: 4 kB / 437.7 MB, free: 1.184 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.395e-05/0.2994, allocations: 34.88 kB / 437.8 MB, free: 1.141 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 3.507e-06/0.2994, allocations: 0 / 437.8 MB, free: 1.141 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0007043/0.3001, allocations: 169.4 kB / 437.9 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/0.3002, allocations: 114.8 kB / 438 MB, free: 0.832 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003164/0.3005, allocations: 179.5 kB / 438.2 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.263e-05/0.3005, allocations: 25.7 kB / 438.2 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001881/0.3007, allocations: 172.1 kB / 438.4 MB, free: 448 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001001/0.3008, allocations: 67.42 kB / 438.5 MB, free: 380 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001422/0.301, allocations: 57.94 kB / 438.5 MB, free: 316 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002496/0.3012, allocations: 322.8 kB / 438.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001595/0.3014, allocations: 48.53 kB / 438.9 MB, free: 15.94 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003158/0.3017, allocations: 159.6 kB / 439 MB, free: 15.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005374/0.3022, allocations: 218.2 kB / 439.3 MB, free: 15.47 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/0.3022, allocations: 4 kB / 439.3 MB, free: 15.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007423/0.303, allocations: 245.1 kB / 439.5 MB, free: 15.22 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.924e-05/0.303, allocations: 8 kB / 439.5 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.624e-05/0.303, allocations: 11.88 kB / 439.5 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.956e-05/0.3031, allocations: 4.438 kB / 439.5 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004435/0.3035, allocations: 63.92 kB / 439.6 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.883e-05/0.3035, allocations: 7.984 kB / 439.6 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002586/0.3038, allocations: 27.78 kB / 439.6 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.481e-05/0.3038, allocations: 12 kB / 439.6 MB, free: 15.09 MB / 350.1 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.0001876/0.304, allocations: 137.8 kB / 439.8 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/0.3041, allocations: 15.91 kB / 439.8 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.425e-05/0.3042, allocations: 29.33 kB / 439.8 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.3042, allocations: 0 / 439.8 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.437e-05/0.3042, allocations: 4 kB / 439.8 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.3043, allocations: 4 kB / 439.8 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009434/0.3052, allocations: 344.5 kB / 440.2 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.3052, allocations: 0 / 440.2 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003614/0.3056, allocations: 39.97 kB / 440.2 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.3056, allocations: 0 / 440.2 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.472e-05/0.3056, allocations: 8 kB / 440.2 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.3056, allocations: 0 / 440.2 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.104e-06/0.3056, allocations: 7.938 kB / 440.2 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006625/0.3063, allocations: 373.2 kB / 440.6 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.149e-05/0.3063, allocations: 23.94 kB / 440.6 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.498e-05/0.3064, allocations: 4 kB / 440.6 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002542/0.3066, allocations: 4 kB / 440.6 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.799e-05/0.3067, allocations: 19.95 kB / 440.6 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.149e-05/0.3067, allocations: 8 kB / 440.6 MB, free: 14.01 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001754/0.3069, allocations: 124 kB / 440.8 MB, free: 13.89 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3069, allocations: 0 / 440.8 MB, free: 13.89 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006888/0.3076, allocations: 55.83 kB / 440.8 MB, free: 13.83 MB / 350.1 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.0001856/0.3077, allocations: 101.5 kB / 440.9 MB, free: 13.72 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005231/0.3083, allocations: 142.5 kB / 441 MB, free: 13.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.3083, allocations: 0 / 441 MB, free: 13.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001634/0.3084, allocations: 51.92 kB / 441.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008579/0.3093, allocations: 28.98 kB / 441.1 MB, free: 13.51 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001978/0.3113, allocations: 0.6364 MB / 441.8 MB, free: 12.83 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002576/0.3115, allocations: 133.2 kB / 441.9 MB, free: 12.68 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.962e-05/0.3116, allocations: 15.44 kB / 441.9 MB, free: 12.66 MB / 350.1 MB Notification: Performance of SimCode: time 1.162e-06/0.3116, allocations: 0 / 441.9 MB, free: 12.66 MB / 350.1 MB Notification: Performance of Templates: time 0.00804/0.3197, allocations: 2.314 MB / 444.2 MB, free: 10.35 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 6.974350789561868]