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.001835/0.001835, allocations: 85.58 kB / 20.68 MB, free: 1.035 MB / 14.72 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.002207/0.002207, allocations: 158.6 kB / 23.95 MB, free: 4.168 MB / 14.72 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 1.468/1.468, allocations: 177 MB / 204.1 MB, free: 9.141 MB / 190.1 MB " [Timeout remaining time 178] 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 2.164e-06/2.164e-06, allocations: 0 / 325 MB, free: 492 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.91e-05/3.127e-05, allocations: 2.281 kB / 325 MB, free: 488 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.00413/0.004161, allocations: 1.638 MB / 326.6 MB, free: 15.35 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003518/0.004513, allocations: 66.62 kB / 326.7 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.864e-05/0.004602, allocations: 0.9375 kB / 326.7 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001526/0.004754, allocations: 7.375 kB / 326.7 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.328e-05/0.004837, allocations: 24.48 kB / 326.7 MB, free: 15.28 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000146/0.004983, allocations: 19.27 kB / 326.7 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001712/0.005155, allocations: 67.95 kB / 326.8 MB, free: 15.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.00528, allocations: 17.42 kB / 326.8 MB, free: 15.23 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.805e-05/0.005378, allocations: 35.5 kB / 326.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.355e-05/0.005462, allocations: 19.89 kB / 326.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.35e-05/0.005485, allocations: 5.375 kB / 326.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.265e-05/0.005508, allocations: 5.125 kB / 326.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.88e-05/0.005537, allocations: 11.45 kB / 326.9 MB, free: 15.2 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.82e-05/0.005585, allocations: 16.67 kB / 326.9 MB, free: 15.2 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001784/0.005763, allocations: 70.44 kB / 327 MB, free: 15.16 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.005766, allocations: 1.188 kB / 327 MB, free: 15.16 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.005767, allocations: 4 kB / 327 MB, free: 15.16 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.005771, allocations: 0 / 327 MB, free: 15.16 MB / 302.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.0005802/0.006351, allocations: 288.3 kB / 327.3 MB, free: 14.88 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/0.006402, allocations: 13.83 kB / 327.3 MB, free: 14.87 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.456e-05/0.006457, allocations: 13.3 kB / 327.3 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002644/0.006721, allocations: 120.2 kB / 327.4 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/0.00674, allocations: 6.5 kB / 327.4 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.413e-05/0.006774, allocations: 8.875 kB / 327.4 MB, free: 14.72 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002151/0.00699, allocations: 73.95 kB / 327.5 MB, free: 14.67 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.007006, allocations: 5.281 kB / 327.5 MB, free: 14.67 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.007019, allocations: 384 / 327.5 MB, free: 14.67 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.007026, allocations: 3.094 kB / 327.5 MB, free: 14.67 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000127/0.007153, allocations: 41.72 kB / 327.5 MB, free: 14.65 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008068/0.00796, allocations: 290.5 kB / 327.8 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001651/0.008125, allocations: 65.97 kB / 327.9 MB, free: 14.35 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.448e-05/0.00818, allocations: 18.08 kB / 327.9 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.008198, allocations: 5.047 kB / 327.9 MB, free: 14.33 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.008229, allocations: 31.78 kB / 328 MB, free: 14.29 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.00823, allocations: 0 / 328 MB, free: 14.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0009607/0.009191, allocations: 383.9 kB / 328.3 MB, free: 13.97 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.782e-05/0.009259, allocations: 52.2 kB / 328.4 MB, free: 13.91 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/0.009378, allocations: 108.4 kB / 328.5 MB, free: 13.8 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/0.009403, allocations: 25.7 kB / 328.5 MB, free: 13.77 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.151e-05/0.009494, allocations: 100.2 kB / 328.6 MB, free: 13.68 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.747e-05/0.009542, allocations: 38.72 kB / 328.6 MB, free: 13.64 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.666e-05/0.009618, allocations: 34.88 kB / 328.7 MB, free: 13.61 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001977/0.009816, allocations: 323.5 kB / 329 MB, free: 13.29 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.011e-05/0.009876, allocations: 24.23 kB / 329 MB, free: 13.28 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001234/0.009999, allocations: 60.23 kB / 329.1 MB, free: 13.23 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001728/0.01017, allocations: 84.19 kB / 329.2 MB, free: 13.16 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.01017, allocations: 1.344 kB / 329.2 MB, free: 13.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002618/0.01044, allocations: 112.2 kB / 329.3 MB, free: 13.09 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.01045, allocations: 6.078 kB / 329.3 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.01046, allocations: 2.125 kB / 329.3 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.01048, allocations: 6.25 kB / 329.3 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/0.01061, allocations: 30.62 kB / 329.3 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.884e-06/0.01062, allocations: 2.25 kB / 329.3 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.591e-05/0.01069, allocations: 1.281 kB / 329.3 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.0107, allocations: 4.031 kB / 329.3 MB, free: 13.08 MB / 302.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.0001383/0.01083, allocations: 124.5 kB / 329.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.132e-05/0.01089, allocations: 6.734 kB / 329.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.231e-05/0.01093, allocations: 10.61 kB / 329.5 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.01093, allocations: 1.031 kB / 329.5 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.01094, allocations: 0.9375 kB / 329.5 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.01094, allocations: 4.969 kB / 329.5 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006879/0.01163, allocations: 351.3 kB / 329.8 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.01163, allocations: 2.781 kB / 329.8 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000136/0.01177, allocations: 17.34 kB / 329.8 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.01177, allocations: 1.719 kB / 329.8 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.01179, allocations: 3.594 kB / 329.8 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.01179, allocations: 6.062 kB / 329.8 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.0118, allocations: 6.156 kB / 329.8 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003495/0.01215, allocations: 233.9 kB / 330.1 MB, free: 12.4 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.412e-05/0.01216, allocations: 3.531 kB / 330.1 MB, free: 12.4 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.137e-05/0.01218, allocations: 3.594 kB / 330.1 MB, free: 12.4 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.891e-05/0.01228, allocations: 2.469 kB / 330.1 MB, free: 12.4 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.756e-05/0.01232, allocations: 19.16 kB / 330.1 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.744e-06/0.01233, allocations: 2.75 kB / 330.1 MB, free: 12.39 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.318e-05/0.01239, allocations: 88.14 kB / 330.2 MB, free: 12.31 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.01239, allocations: 3.938 kB / 330.2 MB, free: 12.31 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003929/0.01278, allocations: 17.08 kB / 330.2 MB, free: 12.3 MB / 302.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.0001391/0.01292, allocations: 102.6 kB / 330.3 MB, free: 12.21 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001954/0.01312, allocations: 58.14 kB / 330.4 MB, free: 12.19 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.01312, allocations: 0 / 330.4 MB, free: 12.19 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.346e-05/0.01318, allocations: 27.16 kB / 330.4 MB, free: 12.18 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005245/0.01371, allocations: 18.75 kB / 330.4 MB, free: 12.18 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000723/0.01443, allocations: 286.9 kB / 330.7 MB, free: 11.92 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001128/0.01454, allocations: 84.17 kB / 330.8 MB, free: 11.84 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.822e-05/0.01459, allocations: 6.297 kB / 330.8 MB, free: 11.84 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.67e-05/0.01463, allocations: 12.56 kB / 330.8 MB, free: 11.84 MB / 302.1 MB Notification: Performance of SimCode: time 3.61e-07/0.01463, allocations: 0 / 330.8 MB, free: 11.84 MB / 302.1 MB Notification: Performance of Templates: time 0.004287/0.01892, allocations: 0.6187 MB / 331.4 MB, free: 11.73 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.197498649358749]