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.001871/0.001871, allocations: 103.5 kB / 21.74 MB, free: 2.688 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.001947/0.001947, allocations: 157.8 kB / 25.03 MB, free: 8.934 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 1.345/1.345, allocations: 158.6 MB / 186.8 MB, free: 2.922 MB / 170.7 MB " [Timeout remaining time 178] 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 1.432e-06/1.432e-06, allocations: 0 / 250.4 MB, free: 7.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.592e-05/2.735e-05, allocations: 2.312 kB / 250.4 MB, free: 7.836 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.00383/0.003857, allocations: 2.217 MB / 252.6 MB, free: 5.605 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004988/0.004356, allocations: 183.3 kB / 252.8 MB, free: 5.426 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.324e-05/0.004449, allocations: 7.938 kB / 252.8 MB, free: 5.418 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 8.916e-05/0.004538, allocations: 35.64 kB / 252.8 MB, free: 5.383 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002074/0.004746, allocations: 71.36 kB / 252.9 MB, free: 5.312 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002022/0.004948, allocations: 55.91 kB / 252.9 MB, free: 5.258 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002923/0.00524, allocations: 238.8 kB / 253.2 MB, free: 5.023 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001969/0.005437, allocations: 75 kB / 253.2 MB, free: 4.949 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000217/0.005654, allocations: 147.7 kB / 253.4 MB, free: 4.805 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001521/0.005806, allocations: 71.78 kB / 253.4 MB, free: 4.734 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.865e-05/0.005855, allocations: 20 kB / 253.5 MB, free: 4.715 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.483e-05/0.0059, allocations: 24 kB / 253.5 MB, free: 4.691 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.554e-05/0.005955, allocations: 51.83 kB / 253.5 MB, free: 4.641 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.006059, allocations: 83.81 kB / 253.6 MB, free: 4.559 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003549/0.006414, allocations: 255.2 kB / 253.9 MB, free: 4.309 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.006418, allocations: 0 / 253.9 MB, free: 4.309 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.006419, allocations: 0 / 253.9 MB, free: 4.309 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.006425, allocations: 0 / 253.9 MB, free: 4.309 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.0008854/0.00731, allocations: 0.5544 MB / 254.4 MB, free: 3.715 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.007351, allocations: 11.98 kB / 254.4 MB, free: 3.703 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.471e-05/0.007446, allocations: 44.8 kB / 254.5 MB, free: 3.66 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002481/0.007694, allocations: 168.2 kB / 254.6 MB, free: 3.469 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.839e-05/0.007722, allocations: 20.88 kB / 254.7 MB, free: 3.445 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.504e-05/0.007777, allocations: 16.38 kB / 254.7 MB, free: 3.43 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000433/0.00821, allocations: 255.3 kB / 254.9 MB, free: 3.16 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.323e-05/0.008234, allocations: 4.172 kB / 254.9 MB, free: 3.156 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.401e-05/0.008268, allocations: 8.375 kB / 254.9 MB, free: 3.148 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.287e-05/0.008281, allocations: 8.375 kB / 254.9 MB, free: 3.141 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003201/0.008601, allocations: 135.8 kB / 255.1 MB, free: 3.008 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001629/0.01023, allocations: 0.9617 MB / 256 MB, free: 1.992 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003019/0.01053, allocations: 185.2 kB / 256.2 MB, free: 1.773 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001186/0.01065, allocations: 71.05 kB / 256.3 MB, free: 1.691 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.313e-05/0.01067, allocations: 4 kB / 256.3 MB, free: 1.688 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.504e-05/0.01072, allocations: 37.39 kB / 256.3 MB, free: 1.641 MB / 234.7 MB Notification: Performance of pre-optimization done (n=17): time 1.152e-06/0.01072, allocations: 4 kB / 256.3 MB, free: 1.637 MB / 234.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004225/0.01114, allocations: 173.7 kB / 256.5 MB, free: 1.461 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.467e-05/0.01123, allocations: 110.8 kB / 256.6 MB, free: 1.328 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000253/0.01148, allocations: 250.9 kB / 256.9 MB, free: 1.062 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.0115, allocations: 33.64 kB / 256.9 MB, free: 1.023 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001735/0.01168, allocations: 214.9 kB / 257.1 MB, free: 0.8086 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.34e-05/0.01175, allocations: 71.42 kB / 257.2 MB, free: 0.7383 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.01185, allocations: 67.59 kB / 257.2 MB, free: 0.6602 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0002908/0.01214, allocations: 0.5001 MB / 257.7 MB, free: 152 kB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.01224, allocations: 48.55 kB / 257.8 MB, free: 104 kB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002705/0.01251, allocations: 216 kB / 258 MB, free: 15.82 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003952/0.01291, allocations: 279.4 kB / 258.3 MB, free: 15.48 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.01291, allocations: 0 / 258.3 MB, free: 15.48 MB / 250.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004287/0.01334, allocations: 249.5 kB / 258.5 MB, free: 15.23 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.01336, allocations: 8.062 kB / 258.5 MB, free: 15.23 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.01337, allocations: 4 kB / 258.5 MB, free: 15.22 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.431e-05/0.01339, allocations: 8 kB / 258.5 MB, free: 15.21 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002511/0.01364, allocations: 63.91 kB / 258.6 MB, free: 15.15 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/0.01365, allocations: 7.938 kB / 258.6 MB, free: 15.14 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/0.01379, allocations: 27.78 kB / 258.6 MB, free: 15.12 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.315e-05/0.01382, allocations: 12 kB / 258.6 MB, free: 15.11 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 0.0001722/0.01399, allocations: 184.5 kB / 258.8 MB, free: 14.91 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.856e-05/0.01407, allocations: 23.91 kB / 258.8 MB, free: 14.89 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.208e-05/0.01414, allocations: 29.45 kB / 258.9 MB, free: 14.86 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.01414, allocations: 4 kB / 258.9 MB, free: 14.85 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.01415, allocations: 3.938 kB / 258.9 MB, free: 14.85 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.01415, allocations: 0 / 258.9 MB, free: 14.85 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006376/0.01479, allocations: 436.3 kB / 259.3 MB, free: 14.37 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.0148, allocations: 4 kB / 259.3 MB, free: 14.36 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002014/0.015, allocations: 35.92 kB / 259.3 MB, free: 14.33 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.105e-06/0.01501, allocations: 7.938 kB / 259.4 MB, free: 14.32 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.01502, allocations: 4 kB / 259.4 MB, free: 14.32 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.01503, allocations: 4.094 kB / 259.4 MB, free: 14.31 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.01503, allocations: 4 kB / 259.4 MB, free: 14.31 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005367/0.01556, allocations: 486 kB / 259.8 MB, free: 13.8 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.443e-05/0.0156, allocations: 20.02 kB / 259.9 MB, free: 13.78 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.906e-05/0.01563, allocations: 7.984 kB / 259.9 MB, free: 13.77 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/0.01576, allocations: 4 kB / 259.9 MB, free: 13.77 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.442e-05/0.01579, allocations: 15.97 kB / 259.9 MB, free: 13.75 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.0158, allocations: 8 kB / 259.9 MB, free: 13.75 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001448/0.01595, allocations: 172.7 kB / 260.1 MB, free: 13.58 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01595, allocations: 0 / 260.1 MB, free: 13.58 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003703/0.01632, allocations: 59.89 kB / 260.1 MB, free: 13.52 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 0.0001478/0.01647, allocations: 103.2 kB / 260.2 MB, free: 13.41 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003078/0.01678, allocations: 151.4 kB / 260.4 MB, free: 13.26 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.01678, allocations: 0 / 260.4 MB, free: 13.26 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001023/0.01688, allocations: 68.06 kB / 260.4 MB, free: 13.19 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004498/0.01733, allocations: 39.94 kB / 260.5 MB, free: 13.16 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/0.01834, allocations: 0.5343 MB / 261 MB, free: 12.57 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001579/0.0185, allocations: 121.2 kB / 261.1 MB, free: 12.43 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.95e-05/0.01858, allocations: 17.64 kB / 261.1 MB, free: 12.42 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.89e-05/0.01863, allocations: 20.5 kB / 261.2 MB, free: 12.4 MB / 250.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01863, allocations: 4 kB / 261.2 MB, free: 12.39 MB / 250.7 MB Notification: Performance of Templates: time 0.005368/0.024, allocations: 1.412 MB / 262.6 MB, free: 11 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 4.373293175944127]