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.001309/0.001309, allocations: 115.1 kB / 18.46 MB, free: 4.543 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.001418/0.001418, allocations: 215.2 kB / 21.42 MB, free: 1.582 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.49/1.49, allocations: 230.6 MB / 254.8 MB, free: 15.08 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.001599/0.001599, allocations: 47.92 kB / 374.1 MB, free: 9.711 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.108, allocations: 53.33 MB / 427.5 MB, free: 4.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003717/0.1117, allocations: 2.268 MB / 429.7 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004344/0.1121, allocations: 203.2 kB / 429.9 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.785e-05/0.1122, allocations: 7.938 kB / 430 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.733e-05/0.1123, allocations: 39.64 kB / 430 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001651/0.1125, allocations: 63.42 kB / 430.1 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001716/0.1127, allocations: 51.92 kB / 430.1 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002625/0.1129, allocations: 235 kB / 430.3 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001934/0.1131, allocations: 78.61 kB / 430.4 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001258/0.1132, allocations: 87.72 kB / 430.5 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001526/0.1134, allocations: 103.5 kB / 430.6 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.704e-05/0.1134, allocations: 24 kB / 430.6 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.809e-05/0.1135, allocations: 20 kB / 430.6 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.698e-05/0.1135, allocations: 55.77 kB / 430.7 MB, free: 1.051 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001109/0.1136, allocations: 119.4 kB / 430.8 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003051/0.1139, allocations: 251 kB / 431.1 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.114, allocations: 0 / 431.1 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.847e-06/0.114, allocations: 7.922 kB / 431.1 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.114, allocations: 0 / 431.1 MB, free: 0.6797 MB / 350.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.0008059/0.1148, allocations: 0.5069 MB / 431.6 MB, free: 124 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.1148, allocations: 8.031 kB / 431.6 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.084e-05/0.1149, allocations: 24.8 kB / 431.6 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1907/0.3056, allocations: 228.6 kB / 431.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.374e-05/0.3056, allocations: 14.69 kB / 431.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.039e-05/0.3057, allocations: 25.44 kB / 431.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004726/0.3061, allocations: 230.8 kB / 432.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/0.3062, allocations: 3.141 kB / 432.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.567e-05/0.3062, allocations: 11.25 kB / 432.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.3062, allocations: 6.5 kB / 432.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002618/0.3064, allocations: 134.6 kB / 432.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001054/0.3075, allocations: 0.8575 MB / 433.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002388/0.3077, allocations: 151 kB / 433.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.011e-05/0.3078, allocations: 55.88 kB / 433.3 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.3078, allocations: 5.562 kB / 433.3 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.3079, allocations: 42.16 kB / 433.3 MB, free: 10.37 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.753e-06/0.3079, allocations: 1.5 kB / 433.4 MB, free: 10.37 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003955/0.3083, allocations: 169.4 kB / 433.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.754e-05/0.3083, allocations: 108 kB / 433.6 MB, free: 10.2 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001676/0.3085, allocations: 195.5 kB / 433.8 MB, free: 10.1 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.3085, allocations: 33.61 kB / 433.8 MB, free: 10.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.224e-05/0.3086, allocations: 161.4 kB / 434 MB, free: 9.945 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.912e-05/0.3086, allocations: 68.72 kB / 434.1 MB, free: 9.902 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.594e-05/0.3087, allocations: 55.19 kB / 434.1 MB, free: 9.879 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.387e-05/0.3087, allocations: 328 kB / 434.4 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.032e-05/0.3088, allocations: 48.48 kB / 434.5 MB, free: 9.566 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001195/0.3089, allocations: 154.2 kB / 434.6 MB, free: 9.441 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001993/0.3091, allocations: 221.4 kB / 434.9 MB, free: 9.316 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.247e-06/0.3091, allocations: 6.188 kB / 434.9 MB, free: 9.316 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002973/0.3094, allocations: 236.8 kB / 435.1 MB, free: 9.277 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.3094, allocations: 10.41 kB / 435.1 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.3095, allocations: 3.781 kB / 435.1 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.265e-05/0.3095, allocations: 11.34 kB / 435.1 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002159/0.3097, allocations: 64.97 kB / 435.2 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.619e-05/0.3097, allocations: 4.594 kB / 435.2 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001352/0.3099, allocations: 32.14 kB / 435.2 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.989e-05/0.3099, allocations: 13.91 kB / 435.2 MB, free: 9.254 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 9.165e-05/0.31, allocations: 136.3 kB / 435.4 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.218e-05/0.31, allocations: 20.66 kB / 435.4 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.756e-05/0.3101, allocations: 24.94 kB / 435.4 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.3101, allocations: 7.281 kB / 435.4 MB, free: 9.117 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.3101, allocations: 1.031 kB / 435.4 MB, free: 9.117 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.3101, allocations: 2.672 kB / 435.4 MB, free: 9.117 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004517/0.3106, allocations: 427.8 kB / 435.8 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.3106, allocations: 1.094 kB / 435.8 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001924/0.3108, allocations: 41.62 kB / 435.9 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.716e-06/0.3108, allocations: 2.375 kB / 435.9 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.3108, allocations: 6.219 kB / 435.9 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.3108, allocations: 4.922 kB / 435.9 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.3108, allocations: 2.594 kB / 435.9 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003281/0.3111, allocations: 377.8 kB / 436.3 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.919e-05/0.3112, allocations: 95.83 kB / 436.4 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.636e-05/0.3112, allocations: 6.25 kB / 436.4 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/0.3113, allocations: 5.375 kB / 436.4 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.641e-05/0.3113, allocations: 11.66 kB / 436.4 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.3114, allocations: 5.656 kB / 436.4 MB, free: 8.426 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.229e-05/0.3114, allocations: 138.4 kB / 436.5 MB, free: 8.332 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3114, allocations: 4 kB / 436.5 MB, free: 8.328 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003663/0.3118, allocations: 60.83 kB / 436.6 MB, free: 8.312 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.0001059/0.3119, allocations: 112.4 kB / 436.7 MB, free: 8.219 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002471/0.3122, allocations: 136.5 kB / 436.8 MB, free: 8.172 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3122, allocations: 0 / 436.8 MB, free: 8.172 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.24e-05/0.3122, allocations: 62.42 kB / 436.9 MB, free: 8.148 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004923/0.3127, allocations: 29.08 kB / 436.9 MB, free: 8.141 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009358/0.3137, allocations: 0.6274 MB / 437.5 MB, free: 7.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001775/0.3138, allocations: 0.7351 MB / 438.3 MB, free: 6.98 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.289e-05/0.3139, allocations: 18.91 kB / 438.3 MB, free: 6.973 MB / 350.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3139, allocations: 0 / 438.3 MB, free: 6.973 MB / 350.1 MB Notification: Performance of Templates: time 0.004921/0.3188, allocations: 2.321 MB / 440.6 MB, free: 6.762 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: 7.181117464991985]