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.0008093/0.0008093, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00118/0.00199, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.001487/0.001487, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001541/0.003028, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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.8947/0.8947, allocations: 158.6 MB / 171.2 MB, free: 2.5 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1361/1.031, allocations: 49.49 MB / 220.7 MB, free: 1.367 MB / 218.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.613e-06/1.613e-06, allocations: 0 / 222 MB, free: 76 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.749e-05/2.91e-05, allocations: 2.312 kB / 222 MB, free: 72 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003784/0.003814, allocations: 2.279 MB / 224.3 MB, free: 13.77 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004668/0.00428, allocations: 203.1 kB / 224.5 MB, free: 13.57 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.82e-05/0.004379, allocations: 8 kB / 224.5 MB, free: 13.57 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 9.432e-05/0.004473, allocations: 35.64 kB / 224.5 MB, free: 13.53 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001705/0.004643, allocations: 67.36 kB / 224.6 MB, free: 13.46 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001387/0.004782, allocations: 51.92 kB / 224.6 MB, free: 13.41 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002441/0.005026, allocations: 242.8 kB / 224.9 MB, free: 13.18 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001797/0.005206, allocations: 81.52 kB / 224.9 MB, free: 13.1 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000206/0.005412, allocations: 155.7 kB / 225.1 MB, free: 12.95 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001386/0.005551, allocations: 71.78 kB / 225.2 MB, free: 12.88 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.083e-05/0.005591, allocations: 24 kB / 225.2 MB, free: 12.85 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.75e-05/0.005619, allocations: 20 kB / 225.2 MB, free: 12.83 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.357e-05/0.005652, allocations: 35.88 kB / 225.2 MB, free: 12.8 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.129e-05/0.005704, allocations: 67.88 kB / 225.3 MB, free: 12.73 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001888/0.005893, allocations: 147.4 kB / 225.4 MB, free: 12.59 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.41e-05/0.005907, allocations: 4 kB / 225.4 MB, free: 12.58 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.005908, allocations: 0 / 225.4 MB, free: 12.58 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.011e-05/0.005918, allocations: 3.938 kB / 225.5 MB, free: 12.58 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.0005301/0.006448, allocations: 472.1 kB / 225.9 MB, free: 12.09 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.079e-05/0.006479, allocations: 8.031 kB / 225.9 MB, free: 12.08 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.114e-05/0.00654, allocations: 36.91 kB / 226 MB, free: 12.05 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001687/0.006709, allocations: 145.5 kB / 226.1 MB, free: 11.88 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.006723, allocations: 20.81 kB / 226.1 MB, free: 11.86 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.889e-05/0.006762, allocations: 32.31 kB / 226.1 MB, free: 11.83 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001887/0.006951, allocations: 188 kB / 226.3 MB, free: 11.62 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.006963, allocations: 192 / 226.3 MB, free: 11.62 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.006977, allocations: 4.375 kB / 226.3 MB, free: 11.62 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.006986, allocations: 8.375 kB / 226.3 MB, free: 11.61 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.223e-05/0.007068, allocations: 67.83 kB / 226.4 MB, free: 11.55 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006147/0.007683, allocations: 0.6635 MB / 227.1 MB, free: 10.85 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/0.0078, allocations: 107.7 kB / 227.2 MB, free: 10.72 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.99e-05/0.00784, allocations: 38.89 kB / 227.2 MB, free: 10.67 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.239e-05/0.007852, allocations: 11.97 kB / 227.2 MB, free: 10.66 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.007878, allocations: 38.56 kB / 227.3 MB, free: 10.61 MB / 234.7 MB Notification: Performance of pre-optimization done (n=17): time 1.123e-06/0.007879, allocations: 0 / 227.3 MB, free: 10.61 MB / 234.7 MB Notification: Performance of matching and sorting (n=17): time 0.0001825/0.008062, allocations: 101.5 kB / 227.4 MB, free: 10.51 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/0.008102, allocations: 110.8 kB / 227.5 MB, free: 10.38 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.00821, allocations: 171.6 kB / 227.6 MB, free: 10.19 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.008223, allocations: 29.7 kB / 227.7 MB, free: 10.16 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.674e-05/0.008289, allocations: 160.1 kB / 227.8 MB, free: 9.992 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.655e-05/0.008326, allocations: 75.41 kB / 227.9 MB, free: 9.918 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.72e-05/0.008373, allocations: 49.97 kB / 228 MB, free: 9.859 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 7.547e-05/0.008449, allocations: 330.8 kB / 228.3 MB, free: 9.527 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.909e-05/0.008478, allocations: 20.55 kB / 228.3 MB, free: 9.508 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.383e-05/0.008551, allocations: 126.7 kB / 228.4 MB, free: 9.336 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001298/0.008681, allocations: 189.5 kB / 228.6 MB, free: 9.102 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.008684, allocations: 0 / 228.6 MB, free: 9.102 MB / 234.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001578/0.008842, allocations: 165.9 kB / 228.8 MB, free: 8.934 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.008856, allocations: 8 kB / 228.8 MB, free: 8.926 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.008863, allocations: 4 kB / 228.8 MB, free: 8.922 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.008879, allocations: 4 kB / 228.8 MB, free: 8.918 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002033/0.009082, allocations: 79.84 kB / 228.9 MB, free: 8.84 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.009088, allocations: 7.938 kB / 228.9 MB, free: 8.832 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.879e-05/0.009157, allocations: 32.16 kB / 228.9 MB, free: 8.801 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.009166, allocations: 12 kB / 228.9 MB, free: 8.789 MB / 234.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 7.645e-05/0.009243, allocations: 125.8 kB / 229 MB, free: 8.656 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.247e-05/0.009285, allocations: 19.98 kB / 229.1 MB, free: 8.637 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.063e-05/0.009326, allocations: 25.45 kB / 229.1 MB, free: 8.617 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.009329, allocations: 4 kB / 229.1 MB, free: 8.613 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.009334, allocations: 3.938 kB / 229.1 MB, free: 8.609 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.009337, allocations: 0 / 229.1 MB, free: 8.609 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002953/0.009633, allocations: 269.1 kB / 229.3 MB, free: 8.312 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-06/0.009635, allocations: 4.094 kB / 229.4 MB, free: 8.309 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001313/0.009766, allocations: 48.81 kB / 229.4 MB, free: 8.262 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.769e-05/0.009784, allocations: 27.8 kB / 229.4 MB, free: 8.234 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.009786, allocations: 0 / 229.4 MB, free: 8.234 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.009795, allocations: 4 kB / 229.4 MB, free: 8.23 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.009797, allocations: 0 / 229.4 MB, free: 8.23 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.009799, allocations: 4 kB / 229.4 MB, free: 8.227 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001888/0.009988, allocations: 321.1 kB / 229.7 MB, free: 7.887 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.01, allocations: 4 kB / 229.8 MB, free: 7.883 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.666e-05/0.01007, allocations: 4 kB / 229.8 MB, free: 7.879 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.729e-05/0.01009, allocations: 15.98 kB / 229.8 MB, free: 7.863 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-06/0.01009, allocations: 4 kB / 229.8 MB, free: 7.859 MB / 234.7 MB Notification: Performance of sorting global known variables: time 3.181e-05/0.01012, allocations: 42.44 kB / 229.8 MB, free: 7.816 MB / 234.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01012, allocations: 0 / 229.8 MB, free: 7.816 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0002082/0.01033, allocations: 59.89 kB / 229.9 MB, free: 7.758 MB / 234.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.0001072/0.01044, allocations: 84.36 kB / 230 MB, free: 7.664 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0001398/0.01058, allocations: 112.6 kB / 230.1 MB, free: 7.555 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.09e-05/0.01059, allocations: 7.938 kB / 230.1 MB, free: 7.547 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 4.508e-05/0.01064, allocations: 44.78 kB / 230.1 MB, free: 7.5 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003291/0.01096, allocations: 332.9 kB / 230.4 MB, free: 7.113 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000931/0.0119, allocations: 414.8 kB / 230.8 MB, free: 6.672 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.831e-05/0.01194, allocations: 75.98 kB / 230.9 MB, free: 6.578 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 5.895e-05/0.012, allocations: 17.64 kB / 230.9 MB, free: 6.562 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.878e-05/0.01208, allocations: 79.34 kB / 231 MB, free: 6.484 MB / 234.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01208, allocations: 0 / 231 MB, free: 6.484 MB / 234.7 MB Notification: Performance of Templates: time 0.003184/0.01527, allocations: 1.565 MB / 232.6 MB, free: 4.938 MB / 234.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5573388459160924]