Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001096/0.001096, allocations: 79.73 kB / 21.97 MB, free: 2.598 MB / 18.57 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.001093/0.001093, allocations: 161.8 kB / 25.33 MB, free: 8.594 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9175/0.9175, allocations: 158.6 MB / 187.2 MB, free: 2.93 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.175e-06/2.175e-06, allocations: 0 / 251 MB, free: 7.523 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.041e-05/3.258e-05, allocations: 2.312 kB / 251 MB, free: 7.52 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003763/0.003796, allocations: 2.252 MB / 253.3 MB, free: 5.254 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006374/0.004433, allocations: 191.3 kB / 253.5 MB, free: 5.066 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001314/0.004565, allocations: 4 kB / 253.5 MB, free: 5.062 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001027/0.004667, allocations: 35.64 kB / 253.5 MB, free: 5.027 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002148/0.004882, allocations: 67.36 kB / 253.6 MB, free: 4.961 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002081/0.00509, allocations: 51.92 kB / 253.6 MB, free: 4.91 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002852/0.005375, allocations: 242.8 kB / 253.9 MB, free: 4.672 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001965/0.005572, allocations: 75.02 kB / 253.9 MB, free: 4.598 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002204/0.005792, allocations: 147.7 kB / 254.1 MB, free: 4.453 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001342/0.005926, allocations: 71.78 kB / 254.2 MB, free: 4.383 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.135e-05/0.005968, allocations: 20 kB / 254.2 MB, free: 4.363 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.489e-05/0.006003, allocations: 24 kB / 254.2 MB, free: 4.34 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.261e-05/0.006045, allocations: 47.83 kB / 254.2 MB, free: 4.293 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 8.495e-05/0.00613, allocations: 83.81 kB / 254.3 MB, free: 4.211 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002389/0.006369, allocations: 159.4 kB / 254.5 MB, free: 4.055 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.006374, allocations: 0 / 254.5 MB, free: 4.055 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.006375, allocations: 0 / 254.5 MB, free: 4.055 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.006381, allocations: 0 / 254.5 MB, free: 4.055 MB / 234.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.0006852/0.007066, allocations: 0.5391 MB / 255 MB, free: 3.477 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.00711, allocations: 11.98 kB / 255 MB, free: 3.465 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.674e-05/0.007197, allocations: 44.8 kB / 255.1 MB, free: 3.422 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002104/0.007407, allocations: 168.2 kB / 255.2 MB, free: 3.23 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.007429, allocations: 20.88 kB / 255.3 MB, free: 3.207 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.065e-05/0.00747, allocations: 24.38 kB / 255.3 MB, free: 3.184 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003292/0.007799, allocations: 199.3 kB / 255.5 MB, free: 2.969 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.142e-05/0.007821, allocations: 8.172 kB / 255.5 MB, free: 2.961 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.166e-05/0.007842, allocations: 8.375 kB / 255.5 MB, free: 2.953 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.409e-05/0.007856, allocations: 8.375 kB / 255.5 MB, free: 2.945 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000182/0.008038, allocations: 91.39 kB / 255.6 MB, free: 2.859 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009546/0.008993, allocations: 0.9071 MB / 256.5 MB, free: 1.902 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001622/0.009155, allocations: 157.3 kB / 256.7 MB, free: 1.711 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.206e-05/0.009217, allocations: 55.05 kB / 256.7 MB, free: 1.645 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.176e-05/0.009229, allocations: 4 kB / 256.7 MB, free: 1.637 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.009253, allocations: 37.39 kB / 256.7 MB, free: 1.59 MB / 234.7 MB Notification: Performance of pre-optimization done (n=17): time 1.653e-06/0.009254, allocations: 0 / 256.7 MB, free: 1.59 MB / 234.7 MB Notification: Performance of matching and sorting (n=17): time 0.000259/0.009513, allocations: 141.6 kB / 256.9 MB, free: 1.445 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.009555, allocations: 110.7 kB / 257 MB, free: 1.312 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.009683, allocations: 226.9 kB / 257.2 MB, free: 1.07 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.009696, allocations: 29.7 kB / 257.2 MB, free: 1.035 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.281e-05/0.009779, allocations: 210.9 kB / 257.4 MB, free: 0.8242 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.59e-05/0.009814, allocations: 71.42 kB / 257.5 MB, free: 0.7539 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.408e-05/0.009869, allocations: 59.59 kB / 257.6 MB, free: 0.6836 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.009983, allocations: 0.4962 MB / 258.1 MB, free: 180 kB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.52e-05/0.01003, allocations: 24.55 kB / 258.1 MB, free: 156 kB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001276/0.01016, allocations: 184 kB / 258.3 MB, free: 15.91 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001803/0.01034, allocations: 235.4 kB / 258.5 MB, free: 15.61 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/0.01034, allocations: 8 kB / 258.5 MB, free: 15.6 MB / 250.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002237/0.01057, allocations: 213.2 kB / 258.7 MB, free: 15.39 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.01058, allocations: 8 kB / 258.7 MB, free: 15.38 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.01059, allocations: 4 kB / 258.7 MB, free: 15.38 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.0106, allocations: 4 kB / 258.7 MB, free: 15.37 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.01074, allocations: 59.91 kB / 258.8 MB, free: 15.31 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.01075, allocations: 12.31 kB / 258.8 MB, free: 15.3 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.245e-05/0.01082, allocations: 31.78 kB / 258.8 MB, free: 15.27 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/0.01083, allocations: 16 kB / 258.9 MB, free: 15.25 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 8.664e-05/0.01092, allocations: 172.5 kB / 259 MB, free: 15.07 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.621e-05/0.01097, allocations: 19.91 kB / 259 MB, free: 15.05 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.655e-05/0.01101, allocations: 25.45 kB / 259.1 MB, free: 15.02 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.01102, allocations: 4 kB / 259.1 MB, free: 15.02 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.01102, allocations: 3.938 kB / 259.1 MB, free: 15.02 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.01103, allocations: 0 / 259.1 MB, free: 15.02 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003361/0.01136, allocations: 388.5 kB / 259.5 MB, free: 14.58 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.01137, allocations: 4 kB / 259.5 MB, free: 14.58 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/0.01148, allocations: 39.91 kB / 259.5 MB, free: 14.54 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.01149, allocations: 7.938 kB / 259.5 MB, free: 14.53 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.0115, allocations: 8 kB / 259.5 MB, free: 14.52 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.01151, allocations: 0 / 259.5 MB, free: 14.52 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.01151, allocations: 0 / 259.5 MB, free: 14.52 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002833/0.01179, allocations: 442 kB / 259.9 MB, free: 14.06 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.658e-05/0.01181, allocations: 20.02 kB / 260 MB, free: 14.04 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/0.01183, allocations: 11.98 kB / 260 MB, free: 14.03 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.802e-05/0.01189, allocations: 8.031 kB / 260 MB, free: 14.02 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.33e-05/0.01192, allocations: 15.91 kB / 260 MB, free: 14 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.01193, allocations: 8 kB / 260 MB, free: 14 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.019e-05/0.01199, allocations: 160.8 kB / 260.2 MB, free: 13.84 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01199, allocations: 0 / 260.2 MB, free: 13.84 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002338/0.01222, allocations: 55.89 kB / 260.2 MB, free: 13.79 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 8.834e-05/0.01231, allocations: 99.19 kB / 260.3 MB, free: 13.68 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001838/0.01249, allocations: 127.3 kB / 260.4 MB, free: 13.55 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.01249, allocations: 0 / 260.4 MB, free: 13.55 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.558e-05/0.01254, allocations: 47.61 kB / 260.5 MB, free: 13.5 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003222/0.01286, allocations: 44.62 kB / 260.5 MB, free: 13.46 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006517/0.01351, allocations: 0.5114 MB / 261 MB, free: 12.9 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.82e-05/0.01357, allocations: 79.98 kB / 261.1 MB, free: 12.8 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.886e-05/0.01363, allocations: 17.62 kB / 261.1 MB, free: 12.79 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.625e-05/0.01367, allocations: 20.5 kB / 261.2 MB, free: 12.77 MB / 250.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01367, allocations: 0 / 261.2 MB, free: 12.77 MB / 250.7 MB Notification: Performance of Templates: time 0.003347/0.01701, allocations: 1.483 MB / 262.6 MB, free: 11.3 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.6924588521942496]