Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Accelerate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Accelerate") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001372/0.001372, allocations: 108.7 kB / 18.78 MB, free: 3.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001498/0.001498, allocations: 207.9 kB / 19.79 MB, free: 2.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.459/1.459, allocations: 230.4 MB / 251.1 MB, free: 8.5 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002077/0.002077, allocations: 71.83 kB / 368.9 MB, free: 6.055 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2543/0.2563, allocations: 53.31 MB / 422.2 MB, free: 7.84 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.003248/0.2596, allocations: 1.654 MB / 423.9 MB, free: 6.184 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002613/0.2598, allocations: 75.7 kB / 424 MB, free: 6.109 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.772e-05/0.2599, allocations: 0 / 424 MB, free: 6.109 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001045/0.26, allocations: 7.938 kB / 424 MB, free: 6.102 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.501e-05/0.2601, allocations: 23.78 kB / 424 MB, free: 6.078 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001272/0.2602, allocations: 15.98 kB / 424 MB, free: 6.062 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001468/0.2603, allocations: 67.67 kB / 424.1 MB, free: 5.996 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.2605, allocations: 15.92 kB / 424.1 MB, free: 5.98 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.496e-05/0.2605, allocations: 27.92 kB / 424.1 MB, free: 5.953 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.02e-05/0.2606, allocations: 27.84 kB / 424.2 MB, free: 5.926 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.708e-05/0.2606, allocations: 4 kB / 424.2 MB, free: 5.922 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.714e-05/0.2607, allocations: 4 kB / 424.2 MB, free: 5.918 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.505e-05/0.2607, allocations: 12 kB / 424.2 MB, free: 5.906 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.845e-05/0.2607, allocations: 35.8 kB / 424.2 MB, free: 5.871 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001753/0.2609, allocations: 63.36 kB / 424.3 MB, free: 5.812 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.2609, allocations: 3.938 kB / 424.3 MB, free: 5.809 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.2609, allocations: 0 / 424.3 MB, free: 5.809 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.2609, allocations: 0 / 424.3 MB, free: 5.809 MB / 334.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.0005512/0.2615, allocations: 363.3 kB / 424.6 MB, free: 5.402 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.2615, allocations: 8.031 kB / 424.6 MB, free: 5.395 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.53e-05/0.2616, allocations: 8.891 kB / 424.7 MB, free: 5.387 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002621/0.2618, allocations: 180.3 kB / 424.8 MB, free: 5.172 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.2618, allocations: 12.38 kB / 424.8 MB, free: 5.16 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.975e-05/0.2619, allocations: 4.375 kB / 424.8 MB, free: 5.156 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001694/0.262, allocations: 74.17 kB / 424.9 MB, free: 5.078 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.262, allocations: 192 / 424.9 MB, free: 5.078 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.2621, allocations: 3.938 kB / 424.9 MB, free: 5.074 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.106e-06/0.2621, allocations: 4 kB / 424.9 MB, free: 5.07 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.472e-05/0.2621, allocations: 39.97 kB / 425 MB, free: 5.031 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006937/0.2628, allocations: 383.6 kB / 425.3 MB, free: 4.602 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001091/0.263, allocations: 58.55 kB / 425.4 MB, free: 4.535 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.587e-05/0.263, allocations: 16.86 kB / 425.4 MB, free: 4.516 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.348e-06/0.263, allocations: 3.984 kB / 425.4 MB, free: 4.512 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.263, allocations: 34.56 kB / 425.4 MB, free: 4.469 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.263, allocations: 3.938 kB / 425.5 MB, free: 4.465 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007955/0.2638, allocations: 0.5092 MB / 426 MB, free: 3.863 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.06e-05/0.2639, allocations: 55.41 kB / 426 MB, free: 3.797 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.264, allocations: 122 kB / 426.1 MB, free: 3.668 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.264, allocations: 25.7 kB / 426.2 MB, free: 3.637 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.964e-05/0.2641, allocations: 100 kB / 426.3 MB, free: 3.535 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.935e-05/0.2641, allocations: 35.69 kB / 426.3 MB, free: 3.5 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-05/0.2642, allocations: 29.72 kB / 426.3 MB, free: 3.465 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.2643, allocations: 318.8 kB / 426.6 MB, free: 3.145 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.728e-05/0.2644, allocations: 16 kB / 426.6 MB, free: 3.129 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.217e-05/0.2644, allocations: 56.39 kB / 426.7 MB, free: 3.059 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001306/0.2646, allocations: 93.02 kB / 426.8 MB, free: 2.949 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.2646, allocations: 0 / 426.8 MB, free: 2.949 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001689/0.2647, allocations: 109.5 kB / 426.9 MB, free: 2.836 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.2647, allocations: 8 kB / 426.9 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.2648, allocations: 0 / 426.9 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.2648, allocations: 7.938 kB / 426.9 MB, free: 2.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.807e-05/0.2649, allocations: 24.08 kB / 426.9 MB, free: 2.797 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.2649, allocations: 11.94 kB / 427 MB, free: 2.785 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.002e-05/0.2649, allocations: 0 / 427 MB, free: 2.785 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.2649, allocations: 4 kB / 427 MB, free: 2.781 MB / 334.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 0.0001033/0.265, allocations: 121.8 kB / 427.1 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.137e-05/0.2651, allocations: 11.94 kB / 427.1 MB, free: 2.641 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.918e-05/0.2651, allocations: 12.38 kB / 427.1 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.2651, allocations: 0 / 427.1 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.2651, allocations: 3.938 kB / 427.1 MB, free: 2.621 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.2651, allocations: 4 kB / 427.1 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005147/0.2656, allocations: 410.5 kB / 427.5 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2656, allocations: 0 / 427.5 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.401e-05/0.2657, allocations: 24.17 kB / 427.5 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.2657, allocations: 4 kB / 427.5 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.2657, allocations: 4.156 kB / 427.5 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.2657, allocations: 4 kB / 427.5 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.2657, allocations: 3.984 kB / 427.5 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002643/0.266, allocations: 236 kB / 427.8 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.962e-05/0.2661, allocations: 85.09 kB / 427.9 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.2661, allocations: 4 kB / 427.9 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.091e-05/0.2662, allocations: 4.094 kB / 427.9 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.422e-05/0.2662, allocations: 11.92 kB / 427.9 MB, free: 1.723 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.2662, allocations: 12 kB / 427.9 MB, free: 1.711 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.769e-05/0.2662, allocations: 91.27 kB / 428 MB, free: 1.621 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2662, allocations: 0 / 428 MB, free: 1.621 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000251/0.2665, allocations: 16.06 kB / 428 MB, free: 1.605 MB / 334.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 0.0001194/0.2666, allocations: 103.2 kB / 428.1 MB, free: 1.496 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001433/0.2668, allocations: 63.8 kB / 428.2 MB, free: 1.434 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2668, allocations: 0 / 428.2 MB, free: 1.434 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.038e-05/0.2668, allocations: 27.92 kB / 428.2 MB, free: 1.406 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.2671, allocations: 8.5 kB / 428.2 MB, free: 1.398 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006008/0.2677, allocations: 334.8 kB / 428.5 MB, free: 1.027 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/0.268, allocations: 0.7006 MB / 429.2 MB, free: 308 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.353e-05/0.2681, allocations: 4.438 kB / 429.2 MB, free: 304 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.798e-05/0.2681, allocations: 15.42 kB / 429.2 MB, free: 288 kB / 334.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2681, allocations: 0 / 429.2 MB, free: 288 kB / 334.1 MB Notification: Performance of Templates: time 0.003174/0.2713, allocations: 0.6837 MB / 429.9 MB, free: 15.6 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Accelerate.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Accelerate.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Accelerate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Accelerate/Accelerate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Accelerate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches