Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000999/0.000999, allocations: 79.69 kB / 21.7 MB, free: 2.848 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001088/0.001088, allocations: 167.7 kB / 24.99 MB, free: 8.219 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9806/0.9806, allocations: 177 MB / 205.2 MB, free: 5.531 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.Accelerate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 273 MB, free: 1.734 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.189e-05/2.311e-05, allocations: 2.312 kB / 273 MB, free: 1.73 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.00204/0.002063, allocations: 1.689 MB / 274.7 MB, free: 32 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002499/0.002313, allocations: 63.94 kB / 274.7 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.346e-05/0.002377, allocations: 0 / 274.7 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.953e-05/0.002476, allocations: 19.86 kB / 274.7 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 4.277e-05/0.002519, allocations: 11.86 kB / 274.8 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001185/0.002638, allocations: 23.86 kB / 274.8 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000108/0.002746, allocations: 67.66 kB / 274.8 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.002851, allocations: 15.98 kB / 274.9 MB, free: 15.83 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.865e-05/0.002909, allocations: 35.97 kB / 274.9 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.426e-05/0.002974, allocations: 23.89 kB / 274.9 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.002995, allocations: 4 kB / 274.9 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.185e-05/0.003007, allocations: 8 kB / 274.9 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.034e-05/0.003027, allocations: 7.938 kB / 274.9 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.112e-05/0.003058, allocations: 23.98 kB / 275 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001107/0.003169, allocations: 39.83 kB / 275 MB, free: 15.69 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.003173, allocations: 4 kB / 275 MB, free: 15.68 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.31e-07/0.003174, allocations: 4 kB / 275 MB, free: 15.68 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.003178, allocations: 0 / 275 MB, free: 15.68 MB / 266.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.0003721/0.00355, allocations: 388.5 kB / 275.4 MB, free: 15.26 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.003584, allocations: 15.98 kB / 275.4 MB, free: 15.25 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.184e-05/0.003626, allocations: 12.89 kB / 275.4 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.00377, allocations: 132.5 kB / 275.5 MB, free: 15.08 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.00378, allocations: 4.375 kB / 275.6 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.294e-05/0.003802, allocations: 8.375 kB / 275.6 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001096/0.003912, allocations: 62.17 kB / 275.6 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.003922, allocations: 4.188 kB / 275.6 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.003933, allocations: 4.375 kB / 275.6 MB, free: 14.99 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.003941, allocations: 4.375 kB / 275.6 MB, free: 14.99 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.865e-05/0.00399, allocations: 23.91 kB / 275.7 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004726/0.004463, allocations: 354.8 kB / 276 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.724e-05/0.00454, allocations: 54.98 kB / 276.1 MB, free: 14.51 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.725e-05/0.004567, allocations: 15.69 kB / 276.1 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.076e-06/0.004575, allocations: 4 kB / 276.1 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.004597, allocations: 37.33 kB / 276.1 MB, free: 14.44 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/0.004599, allocations: 4 kB / 276.1 MB, free: 14.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005178/0.005116, allocations: 364.2 kB / 276.5 MB, free: 14.02 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.005145, allocations: 51.41 kB / 276.5 MB, free: 13.95 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.006e-05/0.005225, allocations: 166.8 kB / 276.7 MB, free: 13.77 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.648e-06/0.005235, allocations: 29.7 kB / 276.7 MB, free: 13.74 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.249e-05/0.005287, allocations: 150.6 kB / 276.9 MB, free: 13.59 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.932e-05/0.005307, allocations: 35.69 kB / 276.9 MB, free: 13.55 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-05/0.005339, allocations: 31.36 kB / 276.9 MB, free: 13.51 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.005448, allocations: 0.4922 MB / 277.4 MB, free: 13.01 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.133e-05/0.005469, allocations: 11.98 kB / 277.4 MB, free: 13 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.819e-05/0.005527, allocations: 78.11 kB / 277.5 MB, free: 12.89 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.718e-05/0.005605, allocations: 93.97 kB / 277.6 MB, free: 12.78 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.005606, allocations: 0 / 277.6 MB, free: 12.78 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000109/0.005715, allocations: 101.5 kB / 277.7 MB, free: 12.67 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.005728, allocations: 7.125 kB / 277.7 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.005739, allocations: 4 kB / 277.7 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.005753, allocations: 4.094 kB / 277.7 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.195e-05/0.005815, allocations: 23.98 kB / 277.7 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.005822, allocations: 4.25 kB / 277.7 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.582e-05/0.005848, allocations: 8 kB / 277.7 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.73e-06/0.005854, allocations: 4 kB / 277.8 MB, free: 12.62 MB / 266.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 6.597e-05/0.00592, allocations: 164.5 kB / 277.9 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.76e-05/0.005937, allocations: 7.953 kB / 277.9 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.329e-05/0.005961, allocations: 8.438 kB / 277.9 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.005962, allocations: 0 / 277.9 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.005969, allocations: 7.984 kB / 277.9 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.005972, allocations: 4 kB / 277.9 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003224/0.006295, allocations: 411.5 kB / 278.3 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.006296, allocations: 0 / 278.3 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.056e-05/0.006347, allocations: 16 kB / 278.4 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.00635, allocations: 4 kB / 278.4 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.006362, allocations: 11.98 kB / 278.4 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.006364, allocations: 0 / 278.4 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.006367, allocations: 11.88 kB / 278.4 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001672/0.006534, allocations: 278.4 kB / 278.7 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.764e-06/0.006542, allocations: 4 kB / 278.7 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/0.006556, allocations: 8 kB / 278.7 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.551e-05/0.006592, allocations: 0 / 278.7 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.733e-05/0.006609, allocations: 11.92 kB / 278.7 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.006614, allocations: 4 kB / 278.7 MB, free: 11.57 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.601e-05/0.00665, allocations: 135.1 kB / 278.8 MB, free: 11.44 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.00665, allocations: 0 / 278.8 MB, free: 11.44 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001795/0.00683, allocations: 20 kB / 278.8 MB, free: 11.42 MB / 266.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 7.254e-05/0.006902, allocations: 103.2 kB / 278.9 MB, free: 11.31 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001064/0.007008, allocations: 51.89 kB / 279 MB, free: 11.26 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.007012, allocations: 4 kB / 279 MB, free: 11.25 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.644e-05/0.007038, allocations: 31.73 kB / 279 MB, free: 11.22 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002253/0.007263, allocations: 19.34 kB / 279 MB, free: 11.2 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000418/0.007681, allocations: 312.9 kB / 279.3 MB, free: 10.85 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002981/0.00798, allocations: 63.34 kB / 279.4 MB, free: 10.77 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.493e-05/0.008004, allocations: 4.5 kB / 279.4 MB, free: 10.76 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.223e-05/0.008027, allocations: 12.5 kB / 279.4 MB, free: 10.75 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.008027, allocations: 0 / 279.4 MB, free: 10.75 MB / 266.7 MB Notification: Performance of Templates: time 0.002174/0.0102, allocations: 0.6442 MB / 280.1 MB, free: 10.11 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",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.771862545982003]