Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.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.0008435/0.0008435, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001286/0.00213, allocations: 445.7 kB / 10.37 MB, free: 328 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.0008245/0.0008245, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001056/0.00188, allocations: 463.6 kB / 11.71 MB, free: 2.453 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.9056/0.9056, allocations: 158.6 MB / 171.1 MB, free: 2.574 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.155/1.061, allocations: 49.48 MB / 220.5 MB, free: 1.457 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.Accelerate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|accelerate.s|accelerate.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate") translateModel(Modelica.Mechanics.Translational.Examples.Accelerate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|accelerate.s|accelerate.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 221.8 MB, free: 200 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.991e-05/2.169e-05, allocations: 2.312 kB / 221.8 MB, free: 196 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.003132/0.003154, allocations: 1.708 MB / 223.5 MB, free: 14.46 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001964/0.00335, allocations: 71.72 kB / 223.6 MB, free: 14.39 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.436e-05/0.003414, allocations: 4 kB / 223.6 MB, free: 14.39 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 6.708e-05/0.003481, allocations: 11.86 kB / 223.6 MB, free: 14.38 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 6.476e-05/0.003546, allocations: 23.8 kB / 223.6 MB, free: 14.36 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.323e-05/0.003629, allocations: 11.98 kB / 223.6 MB, free: 14.34 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001302/0.00376, allocations: 67.66 kB / 223.7 MB, free: 14.28 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.003867, allocations: 19.92 kB / 223.7 MB, free: 14.26 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.568e-05/0.003953, allocations: 43.89 kB / 223.8 MB, free: 14.21 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.498e-05/0.004028, allocations: 11.98 kB / 223.8 MB, free: 14.2 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.418e-05/0.004052, allocations: 8 kB / 223.8 MB, free: 14.2 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.415e-05/0.004066, allocations: 4 kB / 223.8 MB, free: 14.19 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.967e-05/0.004086, allocations: 11.94 kB / 223.8 MB, free: 14.18 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.664e-05/0.004122, allocations: 19.94 kB / 223.8 MB, free: 14.16 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001578/0.00428, allocations: 39.84 kB / 223.9 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.23e-05/0.004302, allocations: 4 kB / 223.9 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.004303, allocations: 4 kB / 223.9 MB, free: 14.11 MB / 234.7 MB Notification: Performance of Transformations before backend: time 2.31e-05/0.004326, allocations: 0 / 223.9 MB, free: 14.11 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005347/0.004861, allocations: 268.5 kB / 224.1 MB, free: 13.82 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.0049, allocations: 12.03 kB / 224.1 MB, free: 13.81 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.319e-05/0.004943, allocations: 12.92 kB / 224.2 MB, free: 13.8 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.005089, allocations: 125.6 kB / 224.3 MB, free: 13.65 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.005101, allocations: 8.375 kB / 224.3 MB, free: 13.64 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.954e-05/0.00513, allocations: 8.359 kB / 224.3 MB, free: 13.64 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.392e-05/0.005224, allocations: 62.23 kB / 224.4 MB, free: 13.57 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.005234, allocations: 192 / 224.4 MB, free: 13.57 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.813e-06/0.005241, allocations: 384 / 224.4 MB, free: 13.57 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.005246, allocations: 384 / 224.4 MB, free: 13.57 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.867e-05/0.005295, allocations: 33.77 kB / 224.4 MB, free: 13.54 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004683/0.005763, allocations: 239.4 kB / 224.6 MB, free: 13.28 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.126e-05/0.005855, allocations: 42.56 kB / 224.7 MB, free: 13.23 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.371e-05/0.005878, allocations: 16.78 kB / 224.7 MB, free: 13.21 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.213e-05/0.00589, allocations: 7.938 kB / 224.7 MB, free: 13.2 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.005919, allocations: 30.56 kB / 224.7 MB, free: 13.16 MB / 234.7 MB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.00592, allocations: 4 kB / 224.7 MB, free: 13.16 MB / 234.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005815/0.006502, allocations: 339.8 kB / 225.1 MB, free: 12.77 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/0.006533, allocations: 51.41 kB / 225.1 MB, free: 12.71 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.671e-05/0.006609, allocations: 114.7 kB / 225.2 MB, free: 12.59 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 8.566e-06/0.006618, allocations: 25.7 kB / 225.2 MB, free: 12.55 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.551e-05/0.006664, allocations: 99.97 kB / 225.3 MB, free: 12.45 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.346e-05/0.006687, allocations: 35.73 kB / 225.4 MB, free: 12.42 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.732e-05/0.006724, allocations: 33.69 kB / 225.4 MB, free: 12.38 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 9.888e-05/0.006823, allocations: 314.8 kB / 225.7 MB, free: 12.06 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.307e-05/0.006836, allocations: 7.984 kB / 225.7 MB, free: 12.05 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.497e-05/0.006871, allocations: 57.08 kB / 225.8 MB, free: 11.98 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.787e-05/0.006929, allocations: 69.05 kB / 225.9 MB, free: 11.89 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.00693, allocations: 0 / 225.9 MB, free: 11.89 MB / 234.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 9.168e-05/0.007022, allocations: 89.47 kB / 225.9 MB, free: 11.8 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.007037, allocations: 11.94 kB / 225.9 MB, free: 11.79 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.007042, allocations: 144 / 225.9 MB, free: 11.79 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.007053, allocations: 0 / 225.9 MB, free: 11.79 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.808e-05/0.007131, allocations: 35.91 kB / 226 MB, free: 11.75 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-06/0.007134, allocations: 0 / 226 MB, free: 11.75 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.551e-05/0.00716, allocations: 4 kB / 226 MB, free: 11.75 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.007166, allocations: 8 kB / 226 MB, free: 11.74 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (13): * Single equations (assignments): 13 * 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 5.714e-05/0.007223, allocations: 113.8 kB / 226.1 MB, free: 11.62 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.76e-05/0.007241, allocations: 12.03 kB / 226.1 MB, free: 11.61 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.703e-05/0.007268, allocations: 12.44 kB / 226.1 MB, free: 11.6 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.007269, allocations: 0 / 226.1 MB, free: 11.6 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/0.007272, allocations: 0 / 226.1 MB, free: 11.6 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.007274, allocations: 3.938 kB / 226.1 MB, free: 11.59 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002729/0.007547, allocations: 282.8 kB / 226.4 MB, free: 11.28 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.00755, allocations: 3.984 kB / 226.4 MB, free: 11.27 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.67e-05/0.007607, allocations: 20 kB / 226.4 MB, free: 11.25 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.928e-06/0.007617, allocations: 12.09 kB / 226.4 MB, free: 11.24 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.00762, allocations: 7.938 kB / 226.5 MB, free: 11.23 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-06/0.007627, allocations: 4 kB / 226.5 MB, free: 11.23 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.007629, allocations: 0 / 226.5 MB, free: 11.23 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.007632, allocations: 4 kB / 226.5 MB, free: 11.23 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002003/0.007832, allocations: 199.7 kB / 226.7 MB, free: 11 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.007845, allocations: 8 kB / 226.7 MB, free: 10.99 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.565e-05/0.00788, allocations: 0 / 226.7 MB, free: 10.99 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.609e-05/0.007896, allocations: 11.92 kB / 226.7 MB, free: 10.98 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.007903, allocations: 8 kB / 226.7 MB, free: 10.97 MB / 234.7 MB Notification: Performance of sorting global known variables: time 1.43e-05/0.007917, allocations: 12.89 kB / 226.7 MB, free: 10.96 MB / 234.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007917, allocations: 4 kB / 226.7 MB, free: 10.95 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001499/0.008067, allocations: 16 kB / 226.7 MB, free: 10.94 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (accelerate.s,accelerate.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 (9): * Single equations (assignments): 9 * 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.48e-05/0.008152, allocations: 80.36 kB / 226.8 MB, free: 10.85 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 8.703e-05/0.008239, allocations: 52.7 kB / 226.8 MB, free: 10.8 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.045e-05/0.008249, allocations: 7.984 kB / 226.9 MB, free: 10.79 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 1.94e-05/0.008269, allocations: 20.8 kB / 226.9 MB, free: 10.77 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001816/0.00845, allocations: 24.48 kB / 226.9 MB, free: 10.74 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000744/0.009194, allocations: 240.6 kB / 227.1 MB, free: 10.46 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.83e-05/0.009233, allocations: 63.34 kB / 227.2 MB, free: 10.38 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 3.12e-05/0.009264, allocations: 8.484 kB / 227.2 MB, free: 10.38 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.768e-05/0.009311, allocations: 63.36 kB / 227.3 MB, free: 10.31 MB / 234.7 MB Notification: Performance of SimCode: time 6.92e-07/0.009312, allocations: 4 kB / 227.3 MB, free: 10.31 MB / 234.7 MB Notification: Performance of Templates: time 0.002181/0.01149, allocations: 0.7039 MB / 228 MB, free: 9.609 MB / 234.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Accelerate/Accelerate.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.5285909213125706]