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.0008032/0.0008032, allocations: 87.62 kB / 22.19 MB, free: 2.367 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.0007663/0.0007663, allocations: 163.8 kB / 25.45 MB, free: 9.492 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.8564/0.8564, allocations: 158.6 MB / 187.2 MB, free: 3.035 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 1.823e-06/1.823e-06, allocations: 0 / 299.7 MB, free: 6.945 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.724e-05/2.906e-05, allocations: 2.281 kB / 299.7 MB, free: 6.941 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.002302/0.002331, allocations: 2.119 MB / 301.8 MB, free: 4.805 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004287/0.00276, allocations: 191.3 kB / 302 MB, free: 4.617 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.146e-05/0.002841, allocations: 4 kB / 302 MB, free: 4.613 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.599e-05/0.002907, allocations: 35.64 kB / 302 MB, free: 4.578 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001301/0.003037, allocations: 67.36 kB / 302.1 MB, free: 4.512 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001591/0.003196, allocations: 55.86 kB / 302.1 MB, free: 4.457 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002014/0.003398, allocations: 242.8 kB / 302.4 MB, free: 4.219 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001631/0.003561, allocations: 75.02 kB / 302.5 MB, free: 4.148 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003952/0.003956, allocations: 143.7 kB / 302.6 MB, free: 4.008 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.004059, allocations: 71.8 kB / 302.7 MB, free: 3.938 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.446e-05/0.004093, allocations: 20 kB / 302.7 MB, free: 3.918 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.032e-05/0.004114, allocations: 24 kB / 302.7 MB, free: 3.895 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.397e-05/0.004148, allocations: 47.83 kB / 302.8 MB, free: 3.848 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.588e-05/0.004203, allocations: 75.83 kB / 302.8 MB, free: 3.773 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002333/0.004437, allocations: 263.1 kB / 303.1 MB, free: 3.516 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.004441, allocations: 4 kB / 303.1 MB, free: 3.512 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.004442, allocations: 0 / 303.1 MB, free: 3.512 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.004448, allocations: 0 / 303.1 MB, free: 3.512 MB / 282.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.0005167/0.004964, allocations: 445.8 kB / 303.5 MB, free: 3.043 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.005001, allocations: 15.98 kB / 303.5 MB, free: 3.027 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.742e-05/0.005048, allocations: 28.73 kB / 303.6 MB, free: 3 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/0.005228, allocations: 165.1 kB / 303.7 MB, free: 2.816 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.005244, allocations: 16.88 kB / 303.7 MB, free: 2.801 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.575e-05/0.00528, allocations: 24.31 kB / 303.8 MB, free: 2.777 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002611/0.005541, allocations: 232.1 kB / 304 MB, free: 2.531 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.005553, allocations: 192 / 304 MB, free: 2.531 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.709e-05/0.00557, allocations: 8.375 kB / 304 MB, free: 2.523 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.341e-06/0.005576, allocations: 8.375 kB / 304 MB, free: 2.516 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001616/0.005738, allocations: 135.8 kB / 304.1 MB, free: 2.383 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007456/0.006483, allocations: 0.7397 MB / 304.9 MB, free: 1.602 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001706/0.006654, allocations: 151.9 kB / 305 MB, free: 1.426 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.721e-05/0.006721, allocations: 58.56 kB / 305.1 MB, free: 1.359 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.009e-05/0.006731, allocations: 0 / 305.1 MB, free: 1.359 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/0.006751, allocations: 42.56 kB / 305.1 MB, free: 1.309 MB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 1.172e-06/0.006752, allocations: 0 / 305.1 MB, free: 1.309 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002714/0.007024, allocations: 173.6 kB / 305.3 MB, free: 1.133 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.554e-05/0.007069, allocations: 106.8 kB / 305.4 MB, free: 1.004 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.0072, allocations: 175.5 kB / 305.6 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.007215, allocations: 29.7 kB / 305.6 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.142e-05/0.007287, allocations: 164.1 kB / 305.8 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.418e-05/0.007321, allocations: 67.42 kB / 305.8 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.051e-05/0.007372, allocations: 53.95 kB / 305.9 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.464e-05/0.007456, allocations: 330.8 kB / 306.2 MB, free: 164 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.844e-05/0.007515, allocations: 44.55 kB / 306.3 MB, free: 120 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002096/0.007724, allocations: 162.7 kB / 306.4 MB, free: 15.91 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001842/0.007908, allocations: 229.5 kB / 306.6 MB, free: 15.64 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.007911, allocations: 0 / 306.6 MB, free: 15.64 MB / 298.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002399/0.008151, allocations: 241.6 kB / 306.9 MB, free: 15.39 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.008169, allocations: 4 kB / 306.9 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.014e-06/0.008176, allocations: 4 kB / 306.9 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.008193, allocations: 8 kB / 306.9 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.00832, allocations: 59.91 kB / 306.9 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.008328, allocations: 12.72 kB / 307 MB, free: 15.31 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.425e-05/0.008402, allocations: 27.78 kB / 307 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.008412, allocations: 8 kB / 307 MB, free: 15.27 MB / 298.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.734e-05/0.0085, allocations: 141.8 kB / 307.1 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.734e-05/0.008537, allocations: 15.94 kB / 307.1 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.765e-05/0.008575, allocations: 29.41 kB / 307.2 MB, free: 15.08 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.00858, allocations: 4 kB / 307.2 MB, free: 15.08 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.008586, allocations: 3.938 kB / 307.2 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.008592, allocations: 3.984 kB / 307.2 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003252/0.008917, allocations: 340.6 kB / 307.5 MB, free: 14.69 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.008919, allocations: 0 / 307.5 MB, free: 14.69 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/0.009033, allocations: 39.98 kB / 307.6 MB, free: 14.65 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.009037, allocations: 7.938 kB / 307.6 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.417e-06/0.009047, allocations: 0 / 307.6 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.211e-06/0.009053, allocations: 12.03 kB / 307.6 MB, free: 14.63 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.009054, allocations: 0 / 307.6 MB, free: 14.63 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002647/0.009319, allocations: 372.1 kB / 307.9 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.824e-05/0.009337, allocations: 15.84 kB / 308 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.009355, allocations: 8 kB / 308 MB, free: 14.22 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.92e-05/0.009424, allocations: 4 kB / 308 MB, free: 14.22 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.11e-05/0.009445, allocations: 15.97 kB / 308 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.009451, allocations: 7.984 kB / 308 MB, free: 14.2 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.845e-05/0.00951, allocations: 124.9 kB / 308.1 MB, free: 14.07 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00951, allocations: 3.938 kB / 308.1 MB, free: 14.07 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002351/0.009745, allocations: 59.89 kB / 308.2 MB, free: 14.01 MB / 298.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.783e-05/0.009833, allocations: 103.2 kB / 308.3 MB, free: 13.9 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001944/0.01003, allocations: 143.7 kB / 308.4 MB, free: 13.76 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.01003, allocations: 0 / 308.4 MB, free: 13.76 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.681e-05/0.01008, allocations: 52.8 kB / 308.5 MB, free: 13.71 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003587/0.01043, allocations: 36.39 kB / 308.5 MB, free: 13.68 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006281/0.01106, allocations: 0.5269 MB / 309 MB, free: 13.11 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.864e-05/0.01114, allocations: 121.2 kB / 309.1 MB, free: 12.96 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.191e-05/0.01118, allocations: 20.5 kB / 309.2 MB, free: 12.95 MB / 298.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01118, allocations: 4 kB / 309.2 MB, free: 12.94 MB / 298.7 MB Notification: Performance of Templates: time 0.003204/0.01439, allocations: 2.322 MB / 311.5 MB, free: 10.61 MB / 298.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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) [Timeout 480] 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.284691139124334]