Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001408/0.002413, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008427/0.0008427, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001171/0.002014, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9106/0.9106, allocations: 173.4 MB / 185.8 MB, free: 8.973 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07228/0.9829, allocations: 52.5 MB / 238.3 MB, free: 4.414 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 239.5 MB, free: 3.172 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.91e-05/2.075e-05, allocations: 2.312 kB / 239.5 MB, free: 3.168 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.002298/0.002318, allocations: 2.284 MB / 241.8 MB, free: 0.875 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002362/0.002555, allocations: 211.1 kB / 242 MB, free: 0.668 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.956e-05/0.002614, allocations: 7.938 kB / 242 MB, free: 0.6602 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 9.642e-05/0.00271, allocations: 35.64 kB / 242.1 MB, free: 0.625 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 9.816e-05/0.002809, allocations: 67.34 kB / 242.1 MB, free: 0.5586 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.121e-05/0.00289, allocations: 51.92 kB / 242.2 MB, free: 0.5078 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001479/0.003038, allocations: 242.8 kB / 242.4 MB, free: 276 kB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.003172, allocations: 85.61 kB / 242.5 MB, free: 188 kB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001295/0.003302, allocations: 151.7 kB / 242.7 MB, free: 36 kB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001204/0.003422, allocations: 71.88 kB / 242.7 MB, free: 15.96 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.24e-05/0.003455, allocations: 20 kB / 242.8 MB, free: 15.94 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.471e-05/0.003479, allocations: 24 kB / 242.8 MB, free: 15.92 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.981e-05/0.003509, allocations: 39.81 kB / 242.8 MB, free: 15.88 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.813e-05/0.003567, allocations: 63.88 kB / 242.9 MB, free: 15.82 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001738/0.003741, allocations: 147.5 kB / 243 MB, free: 15.67 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.701e-05/0.003758, allocations: 3.984 kB / 243 MB, free: 15.67 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.003759, allocations: 4 kB / 243 MB, free: 15.66 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.684e-05/0.003776, allocations: 0 / 243 MB, free: 15.66 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.0005021/0.004278, allocations: 471.9 kB / 243.5 MB, free: 15.18 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.586e-05/0.004304, allocations: 12.03 kB / 243.5 MB, free: 15.16 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.291e-05/0.004347, allocations: 32.91 kB / 243.5 MB, free: 15.13 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.004475, allocations: 145.5 kB / 243.7 MB, free: 14.96 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.004489, allocations: 16.88 kB / 243.7 MB, free: 14.95 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.827e-05/0.004517, allocations: 28.36 kB / 243.7 MB, free: 14.92 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/0.004682, allocations: 188 kB / 243.9 MB, free: 14.72 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.004693, allocations: 192 / 243.9 MB, free: 14.72 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.004705, allocations: 8.375 kB / 243.9 MB, free: 14.71 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.004712, allocations: 4.375 kB / 243.9 MB, free: 14.71 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.834e-05/0.004791, allocations: 73.31 kB / 244 MB, free: 14.64 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005319/0.005322, allocations: 0.6636 MB / 244.7 MB, free: 13.94 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001079/0.00543, allocations: 111.9 kB / 244.8 MB, free: 13.8 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.889e-05/0.005469, allocations: 42.5 kB / 244.8 MB, free: 13.75 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.058e-05/0.00548, allocations: 4 kB / 244.8 MB, free: 13.75 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.005501, allocations: 38.56 kB / 244.8 MB, free: 13.7 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.092e-06/0.005502, allocations: 0 / 244.8 MB, free: 13.7 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0001711/0.005673, allocations: 105.7 kB / 244.9 MB, free: 13.59 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.005718, allocations: 110.8 kB / 245.1 MB, free: 13.46 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.171e-05/0.00581, allocations: 167.4 kB / 245.2 MB, free: 13.28 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.005822, allocations: 33.7 kB / 245.3 MB, free: 13.24 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.003e-05/0.005882, allocations: 164.1 kB / 245.4 MB, free: 13.08 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.849e-05/0.005921, allocations: 75.41 kB / 245.5 MB, free: 13 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.568e-05/0.005966, allocations: 45.97 kB / 245.5 MB, free: 12.95 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.479e-05/0.006041, allocations: 326.8 kB / 245.8 MB, free: 12.62 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.305e-05/0.006064, allocations: 20.55 kB / 245.9 MB, free: 12.6 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.166e-05/0.006136, allocations: 134.8 kB / 246 MB, free: 12.42 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001176/0.006253, allocations: 177.4 kB / 246.2 MB, free: 12.2 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.006256, allocations: 4 kB / 246.2 MB, free: 12.2 MB / 250.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001407/0.006397, allocations: 169.9 kB / 246.3 MB, free: 12.02 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.006407, allocations: 8 kB / 246.4 MB, free: 12.02 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.006413, allocations: 4 kB / 246.4 MB, free: 12.01 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.448e-06/0.006422, allocations: 4 kB / 246.4 MB, free: 12.01 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00018/0.006602, allocations: 83.28 kB / 246.4 MB, free: 11.93 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.006607, allocations: 8 kB / 246.4 MB, free: 11.92 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.191e-05/0.006669, allocations: 27.78 kB / 246.5 MB, free: 11.89 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/0.006677, allocations: 8 kB / 246.5 MB, free: 11.89 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 5.908e-05/0.006736, allocations: 121.8 kB / 246.6 MB, free: 11.76 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.591e-05/0.006772, allocations: 23.92 kB / 246.6 MB, free: 11.73 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.329e-05/0.006805, allocations: 21.45 kB / 246.6 MB, free: 11.71 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.006807, allocations: 0 / 246.6 MB, free: 11.71 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.006812, allocations: 11.94 kB / 246.7 MB, free: 11.7 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.006815, allocations: 0 / 246.7 MB, free: 11.7 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002443/0.007059, allocations: 277.2 kB / 246.9 MB, free: 11.39 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.007061, allocations: 0 / 246.9 MB, free: 11.39 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/0.007171, allocations: 39.98 kB / 247 MB, free: 11.36 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.695e-05/0.007188, allocations: 24.02 kB / 247 MB, free: 11.33 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.007191, allocations: 3.984 kB / 247 MB, free: 11.33 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.0072, allocations: 8 kB / 247 MB, free: 11.32 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.007202, allocations: 3.938 kB / 247 MB, free: 11.32 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.007204, allocations: 4 kB / 247 MB, free: 11.31 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001724/0.007376, allocations: 317.3 kB / 247.3 MB, free: 10.98 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.00739, allocations: 0 / 247.3 MB, free: 10.98 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.653e-05/0.007457, allocations: 11.94 kB / 247.3 MB, free: 10.96 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.528e-05/0.007472, allocations: 7.984 kB / 247.3 MB, free: 10.96 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.209e-06/0.007477, allocations: 8 kB / 247.3 MB, free: 10.95 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.615e-05/0.007503, allocations: 38.45 kB / 247.4 MB, free: 10.91 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007503, allocations: 3.938 kB / 247.4 MB, free: 10.91 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001931/0.007697, allocations: 51.95 kB / 247.4 MB, free: 10.86 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.441e-05/0.007761, allocations: 80.36 kB / 247.5 MB, free: 10.77 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001167/0.007878, allocations: 118.8 kB / 247.6 MB, free: 10.65 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/0.007888, allocations: 7.984 kB / 247.6 MB, free: 10.64 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.145e-05/0.007919, allocations: 40.78 kB / 247.7 MB, free: 10.6 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002143/0.008133, allocations: 44.98 kB / 247.7 MB, free: 10.56 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008408/0.008974, allocations: 425.4 kB / 248.1 MB, free: 10.11 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.28e-05/0.009017, allocations: 75.98 kB / 248.2 MB, free: 10.01 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.168e-05/0.009069, allocations: 17.64 kB / 248.2 MB, free: 9.996 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.179e-05/0.009141, allocations: 83.36 kB / 248.3 MB, free: 9.914 MB / 250.7 MB Notification: Performance of SimCode: time 5.11e-07/0.009141, allocations: 0 / 248.3 MB, free: 9.914 MB / 250.7 MB Notification: Performance of Templates: time 0.003307/0.01245, allocations: 1.706 MB / 250 MB, free: 8.242 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.3778967456892133]