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.001407/0.001407, allocations: 107.6 kB / 21.18 MB, free: 472 kB / 14.72 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.001475/0.001475, allocations: 208 kB / 24.47 MB, free: 3.801 MB / 14.72 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.579/1.579, allocations: 207.7 MB / 235.3 MB, free: 9.82 MB / 190.1 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.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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001863, allocations: 67.05 kB / 347.7 MB, free: 9.398 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.289/0.2908, allocations: 49.15 MB / 396.8 MB, free: 9.395 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002633/0.2935, allocations: 1.608 MB / 398.4 MB, free: 8.309 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002476/0.2937, allocations: 70.27 kB / 398.5 MB, free: 8.258 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.507e-05/0.2938, allocations: 1.125 kB / 398.5 MB, free: 8.258 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001014/0.2939, allocations: 11.48 kB / 398.5 MB, free: 8.25 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.058e-05/0.2939, allocations: 16.3 kB / 398.5 MB, free: 8.238 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000123/0.2941, allocations: 15.95 kB / 398.6 MB, free: 8.23 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001254/0.2942, allocations: 67.73 kB / 398.6 MB, free: 8.195 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.2943, allocations: 21.23 kB / 398.6 MB, free: 8.184 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.556e-05/0.2944, allocations: 22.22 kB / 398.7 MB, free: 8.176 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.348e-05/0.2944, allocations: 25.08 kB / 398.7 MB, free: 8.164 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.2944, allocations: 5.031 kB / 398.7 MB, free: 8.164 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.632e-05/0.2944, allocations: 5.125 kB / 398.7 MB, free: 8.164 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.827e-05/0.2945, allocations: 10.47 kB / 398.7 MB, free: 8.156 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.506e-05/0.2945, allocations: 24.2 kB / 398.7 MB, free: 8.145 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001513/0.2947, allocations: 66.52 kB / 398.8 MB, free: 8.121 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.2947, allocations: 0 / 398.8 MB, free: 8.121 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.2947, allocations: 0 / 398.8 MB, free: 8.121 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.826e-06/0.2947, allocations: 0.7969 kB / 398.8 MB, free: 8.121 MB / 318.1 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.0003795/0.295, allocations: 295.4 kB / 399.1 MB, free: 7.832 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.2951, allocations: 14.03 kB / 399.1 MB, free: 7.828 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.379e-05/0.2951, allocations: 4.094 kB / 399.1 MB, free: 7.828 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001683/0.2953, allocations: 133.8 kB / 399.2 MB, free: 7.684 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.2953, allocations: 2.219 kB / 399.2 MB, free: 7.684 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.657e-05/0.2953, allocations: 9.719 kB / 399.2 MB, free: 7.68 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.2955, allocations: 66.73 kB / 399.3 MB, free: 7.637 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.2955, allocations: 1.375 kB / 399.3 MB, free: 7.637 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.2955, allocations: 9.031 kB / 399.3 MB, free: 7.629 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.2955, allocations: 5.125 kB / 399.3 MB, free: 7.625 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.675e-05/0.2956, allocations: 37.11 kB / 399.4 MB, free: 7.613 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005232/0.2961, allocations: 311 kB / 399.7 MB, free: 7.336 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.869e-05/0.2962, allocations: 54.12 kB / 399.7 MB, free: 7.301 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.169e-05/0.2962, allocations: 17.52 kB / 399.7 MB, free: 7.289 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.2963, allocations: 1.188 kB / 399.7 MB, free: 7.289 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.37e-05/0.2963, allocations: 40.52 kB / 399.8 MB, free: 7.242 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.2963, allocations: 0 / 399.8 MB, free: 7.242 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006064/0.2969, allocations: 371.2 kB / 400.1 MB, free: 6.93 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.973e-05/0.2969, allocations: 57.39 kB / 400.2 MB, free: 6.863 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.015e-05/0.297, allocations: 110.7 kB / 400.3 MB, free: 6.758 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.275e-06/0.297, allocations: 29.7 kB / 400.3 MB, free: 6.723 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.567e-05/0.297, allocations: 94.05 kB / 400.4 MB, free: 6.633 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.252e-05/0.297, allocations: 39.16 kB / 400.5 MB, free: 6.602 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.579e-05/0.2971, allocations: 26.83 kB / 400.5 MB, free: 6.578 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.474e-05/0.2971, allocations: 323 kB / 400.8 MB, free: 6.258 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.612e-05/0.2972, allocations: 16.66 kB / 400.8 MB, free: 6.254 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.118e-05/0.2972, allocations: 63.81 kB / 400.9 MB, free: 6.191 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.944e-05/0.2973, allocations: 97.42 kB / 401 MB, free: 6.109 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.2973, allocations: 0 / 401 MB, free: 6.109 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000138/0.2974, allocations: 106.3 kB / 401.1 MB, free: 6.051 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.2974, allocations: 4.438 kB / 401.1 MB, free: 6.051 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.2975, allocations: 2.125 kB / 401.1 MB, free: 6.051 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.2975, allocations: 3.484 kB / 401.1 MB, free: 6.051 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.259e-05/0.2976, allocations: 20.41 kB / 401.1 MB, free: 6.051 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.2976, allocations: 3.109 kB / 401.1 MB, free: 6.051 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.883e-05/0.2976, allocations: 6.875 kB / 401.1 MB, free: 6.047 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/0.2976, allocations: 7.656 kB / 401.1 MB, free: 6.043 MB / 318.1 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.239e-05/0.2977, allocations: 122.9 kB / 401.2 MB, free: 5.918 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.665e-05/0.2977, allocations: 7.188 kB / 401.3 MB, free: 5.914 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.875e-05/0.2977, allocations: 10.47 kB / 401.3 MB, free: 5.906 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.2977, allocations: 1.406 kB / 401.3 MB, free: 5.906 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.2977, allocations: 0.6562 kB / 401.3 MB, free: 5.906 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.2977, allocations: 2.469 kB / 401.3 MB, free: 5.906 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003488/0.2981, allocations: 354.3 kB / 401.6 MB, free: 5.582 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.2981, allocations: 6.281 kB / 401.6 MB, free: 5.578 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.339e-05/0.2982, allocations: 18.06 kB / 401.6 MB, free: 5.578 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.2982, allocations: 1.344 kB / 401.6 MB, free: 5.578 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.2982, allocations: 11.45 kB / 401.6 MB, free: 5.57 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.2982, allocations: 1.688 kB / 401.6 MB, free: 5.57 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.2982, allocations: 2.812 kB / 401.7 MB, free: 5.57 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001759/0.2983, allocations: 234.2 kB / 401.9 MB, free: 5.363 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.26e-05/0.2984, allocations: 7.547 kB / 401.9 MB, free: 5.359 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.853e-05/0.2984, allocations: 20.2 kB / 401.9 MB, free: 5.344 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.74e-05/0.2984, allocations: 1.469 kB / 401.9 MB, free: 5.344 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.957e-05/0.2985, allocations: 11.42 kB / 401.9 MB, free: 5.34 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.2985, allocations: 2.688 kB / 401.9 MB, free: 5.34 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.709e-05/0.2985, allocations: 88.95 kB / 402 MB, free: 5.262 MB / 318.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2985, allocations: 0 / 402 MB, free: 5.262 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002512/0.2988, allocations: 12.84 kB / 402 MB, free: 5.262 MB / 318.1 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 6.762e-05/0.2988, allocations: 97.38 kB / 402.1 MB, free: 5.172 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001296/0.2989, allocations: 61.44 kB / 402.2 MB, free: 5.148 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.299, allocations: 1.094 kB / 402.2 MB, free: 5.148 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.905e-05/0.299, allocations: 25.47 kB / 402.2 MB, free: 5.141 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003195/0.2993, allocations: 20.03 kB / 402.2 MB, free: 5.129 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005005/0.2998, allocations: 341.3 kB / 402.6 MB, free: 4.836 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.83e-05/0.2999, allocations: 79.98 kB / 402.6 MB, free: 4.762 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.851e-05/0.2999, allocations: 6.078 kB / 402.6 MB, free: 4.758 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.54e-05/0.2999, allocations: 12.06 kB / 402.7 MB, free: 4.754 MB / 318.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2999, allocations: 0 / 402.7 MB, free: 4.754 MB / 318.1 MB Notification: Performance of Templates: time 0.003276/0.3032, allocations: 0.6815 MB / 403.3 MB, free: 4.621 MB / 318.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.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.673287771642208]