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.001783/0.001783, allocations: 97.98 kB / 21.93 MB, free: 5.207 MB / 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.002053/0.002053, allocations: 202.7 kB / 25.22 MB, free: 3.141 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.574/1.574, allocations: 207.7 MB / 236.1 MB, free: 9.77 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.001837/0.001837, allocations: 55.94 kB / 348.4 MB, free: 9.391 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3088/0.3107, allocations: 49.16 MB / 397.6 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.003017/0.3137, allocations: 1.613 MB / 399.2 MB, free: 8.297 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002566/0.314, allocations: 69.44 kB / 399.3 MB, free: 8.246 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.396e-05/0.314, allocations: 2.438 kB / 399.3 MB, free: 8.246 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001013/0.3141, allocations: 6 kB / 399.3 MB, free: 8.242 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.308e-05/0.3142, allocations: 21.62 kB / 399.3 MB, free: 8.227 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001215/0.3143, allocations: 18.48 kB / 399.3 MB, free: 8.215 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001409/0.3144, allocations: 64.58 kB / 399.4 MB, free: 8.184 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.3146, allocations: 12.92 kB / 399.4 MB, free: 8.18 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.542e-05/0.3146, allocations: 29.33 kB / 399.4 MB, free: 8.164 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.809e-05/0.3147, allocations: 24.56 kB / 399.4 MB, free: 8.152 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.724e-05/0.3147, allocations: 5.25 kB / 399.4 MB, free: 8.152 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.886e-05/0.3147, allocations: 5.406 kB / 399.4 MB, free: 8.152 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.199e-05/0.3147, allocations: 7.141 kB / 399.5 MB, free: 8.148 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.352e-05/0.3148, allocations: 29.23 kB / 399.5 MB, free: 8.133 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001385/0.3149, allocations: 64.48 kB / 399.5 MB, free: 8.109 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3149, allocations: 4 kB / 399.6 MB, free: 8.105 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.3149, allocations: 0 / 399.6 MB, free: 8.105 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.3149, allocations: 2.812 kB / 399.6 MB, free: 8.105 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.0003741/0.3153, allocations: 288.3 kB / 399.8 MB, free: 7.824 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.3154, allocations: 12.05 kB / 399.8 MB, free: 7.82 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.039e-05/0.3154, allocations: 8.969 kB / 399.9 MB, free: 7.816 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001783/0.3156, allocations: 125.4 kB / 400 MB, free: 7.68 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.3156, allocations: 10.81 kB / 400 MB, free: 7.672 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.916e-05/0.3156, allocations: 5.031 kB / 400 MB, free: 7.672 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.3157, allocations: 74.83 kB / 400.1 MB, free: 7.621 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.3158, allocations: 192 / 400.1 MB, free: 7.621 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.3158, allocations: 6.031 kB / 400.1 MB, free: 7.617 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.3158, allocations: 5.188 kB / 400.1 MB, free: 7.613 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.304e-05/0.3158, allocations: 37.52 kB / 400.1 MB, free: 7.602 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00051/0.3164, allocations: 310.9 kB / 400.4 MB, free: 7.324 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.121e-05/0.3164, allocations: 53.53 kB / 400.5 MB, free: 7.289 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.174e-05/0.3165, allocations: 18.02 kB / 400.5 MB, free: 7.277 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.935e-06/0.3165, allocations: 1.156 kB / 400.5 MB, free: 7.277 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.404e-05/0.3165, allocations: 39.62 kB / 400.5 MB, free: 7.23 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.3165, allocations: 1.125 kB / 400.5 MB, free: 7.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006306/0.3171, allocations: 366.4 kB / 400.9 MB, free: 6.922 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.101e-05/0.3172, allocations: 56.69 kB / 400.9 MB, free: 6.855 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.029e-05/0.3172, allocations: 107.2 kB / 401 MB, free: 6.754 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.188e-06/0.3172, allocations: 31.17 kB / 401.1 MB, free: 6.719 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.654e-05/0.3173, allocations: 92.16 kB / 401.2 MB, free: 6.629 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.447e-05/0.3173, allocations: 34.42 kB / 401.2 MB, free: 6.602 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.047e-05/0.3173, allocations: 35.86 kB / 401.2 MB, free: 6.57 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.92e-05/0.3174, allocations: 327.1 kB / 401.6 MB, free: 6.246 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.808e-05/0.3174, allocations: 16.3 kB / 401.6 MB, free: 6.242 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.232e-05/0.3175, allocations: 64.92 kB / 401.6 MB, free: 6.18 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.809e-05/0.3176, allocations: 84.02 kB / 401.7 MB, free: 6.109 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.3176, allocations: 0 / 401.7 MB, free: 6.109 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001572/0.3177, allocations: 105.7 kB / 401.8 MB, free: 6.051 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.3178, allocations: 5.438 kB / 401.8 MB, free: 6.051 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.3178, allocations: 11.16 kB / 401.8 MB, free: 6.043 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.3178, allocations: 1.062 kB / 401.8 MB, free: 6.043 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.912e-05/0.3179, allocations: 27 kB / 401.9 MB, free: 6.039 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.3179, allocations: 3.125 kB / 401.9 MB, free: 6.039 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.722e-05/0.3179, allocations: 2.656 kB / 401.9 MB, free: 6.039 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.3179, allocations: 7.281 kB / 401.9 MB, free: 6.035 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 6.078e-05/0.318, allocations: 123.7 kB / 402 MB, free: 5.91 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.775e-05/0.318, allocations: 7.297 kB / 402 MB, free: 5.906 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.24e-05/0.318, allocations: 9.922 kB / 402 MB, free: 5.898 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.318, allocations: 1.656 kB / 402 MB, free: 5.898 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.3181, allocations: 4 kB / 402 MB, free: 5.895 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.3181, allocations: 3.062 kB / 402 MB, free: 5.895 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003902/0.3184, allocations: 351.1 kB / 402.4 MB, free: 5.574 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.3185, allocations: 1.281 kB / 402.4 MB, free: 5.574 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.01e-05/0.3185, allocations: 26.3 kB / 402.4 MB, free: 5.566 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.3185, allocations: 2.469 kB / 402.4 MB, free: 5.566 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.3186, allocations: 6.656 kB / 402.4 MB, free: 5.562 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.3186, allocations: 2.016 kB / 402.4 MB, free: 5.562 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.3186, allocations: 5.406 kB / 402.4 MB, free: 5.559 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002047/0.3188, allocations: 226.6 kB / 402.6 MB, free: 5.359 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.346e-05/0.3188, allocations: 11.66 kB / 402.6 MB, free: 5.352 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/0.3188, allocations: 7.656 kB / 402.6 MB, free: 5.348 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.573e-05/0.3189, allocations: 1.219 kB / 402.6 MB, free: 5.348 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.756e-05/0.3189, allocations: 15.47 kB / 402.7 MB, free: 5.34 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.3189, allocations: 4.219 kB / 402.7 MB, free: 5.34 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.067e-05/0.3189, allocations: 82.91 kB / 402.7 MB, free: 5.266 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3189, allocations: 3.938 kB / 402.8 MB, free: 5.262 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002512/0.3192, allocations: 18.31 kB / 402.8 MB, free: 5.258 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 9.02e-05/0.3193, allocations: 105.6 kB / 402.9 MB, free: 5.16 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001548/0.3194, allocations: 57.92 kB / 402.9 MB, free: 5.141 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3194, allocations: 0 / 402.9 MB, free: 5.141 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.557e-05/0.3195, allocations: 26.22 kB / 403 MB, free: 5.133 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003114/0.3198, allocations: 20.91 kB / 403 MB, free: 5.121 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005734/0.3204, allocations: 374.7 kB / 403.3 MB, free: 4.789 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.255e-05/0.3204, allocations: 75.52 kB / 403.4 MB, free: 4.719 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.13e-05/0.3205, allocations: 12.62 kB / 403.4 MB, free: 4.711 MB / 318.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3205, allocations: 0 / 403.4 MB, free: 4.711 MB / 318.1 MB Notification: Performance of Templates: time 0.003217/0.3237, allocations: 1.001 MB / 404.4 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Accelerate/Accelerate.csv","/var/lib/jenkins1/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: 7.143177459016442]