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.001063/0.001063, allocations: 84.34 kB / 22.22 MB, free: 2.285 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.001114/0.001114, allocations: 162.9 kB / 25.61 MB, free: 8.586 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 1.046/1.046, allocations: 177 MB / 205.9 MB, free: 4.434 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.774e-06/1.774e-06, allocations: 0 / 274.1 MB, free: 4.312 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2e-05/2.177e-05, allocations: 5.047 kB / 274.1 MB, free: 4.309 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002713/0.002735, allocations: 1.69 MB / 275.8 MB, free: 2.621 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002442/0.002979, allocations: 72.31 kB / 275.9 MB, free: 2.551 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.781e-05/0.003047, allocations: 3.375 kB / 275.9 MB, free: 2.551 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001048/0.003151, allocations: 7.922 kB / 275.9 MB, free: 2.543 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.733e-05/0.003209, allocations: 15.86 kB / 275.9 MB, free: 2.527 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001176/0.003326, allocations: 23.86 kB / 275.9 MB, free: 2.504 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001137/0.00344, allocations: 63.72 kB / 276 MB, free: 2.441 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.003549, allocations: 23.91 kB / 276 MB, free: 2.418 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.407e-05/0.003613, allocations: 31.97 kB / 276 MB, free: 2.387 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.929e-05/0.003683, allocations: 24.84 kB / 276 MB, free: 2.363 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.003701, allocations: 4 kB / 276 MB, free: 2.359 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.221e-05/0.003713, allocations: 4 kB / 276.1 MB, free: 2.355 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.044e-05/0.003733, allocations: 8.938 kB / 276.1 MB, free: 2.348 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.434e-05/0.003768, allocations: 27.91 kB / 276.1 MB, free: 2.32 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001156/0.003883, allocations: 48.39 kB / 276.1 MB, free: 2.273 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.003885, allocations: 0 / 276.1 MB, free: 2.273 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.003886, allocations: 2.031 kB / 276.1 MB, free: 2.273 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.003889, allocations: 0 / 276.1 MB, free: 2.273 MB / 250.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.000381/0.00427, allocations: 388.4 kB / 276.5 MB, free: 1.855 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.004303, allocations: 8.031 kB / 276.5 MB, free: 1.848 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.875e-05/0.004342, allocations: 17.55 kB / 276.5 MB, free: 1.832 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/0.004483, allocations: 124.6 kB / 276.7 MB, free: 1.684 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.004495, allocations: 6.844 kB / 276.7 MB, free: 1.68 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.139e-05/0.004516, allocations: 8.375 kB / 276.7 MB, free: 1.672 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001005/0.004617, allocations: 58.11 kB / 276.7 MB, free: 1.609 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.004629, allocations: 4.172 kB / 276.7 MB, free: 1.605 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.00464, allocations: 8.375 kB / 276.7 MB, free: 1.598 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.004646, allocations: 384 / 276.7 MB, free: 1.598 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.879e-05/0.004695, allocations: 27.91 kB / 276.8 MB, free: 1.57 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004673/0.005162, allocations: 327.5 kB / 277.1 MB, free: 1.215 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.814e-05/0.00525, allocations: 50.98 kB / 277.1 MB, free: 1.152 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.72e-05/0.005277, allocations: 19.61 kB / 277.2 MB, free: 1.129 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.925e-06/0.005285, allocations: 4 kB / 277.2 MB, free: 1.125 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.005308, allocations: 33.39 kB / 277.2 MB, free: 1.082 MB / 250.7 MB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.005309, allocations: 0 / 277.2 MB, free: 1.082 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005147/0.005824, allocations: 348.3 kB / 277.5 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/0.005858, allocations: 55.41 kB / 277.6 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.645e-05/0.005944, allocations: 166.8 kB / 277.8 MB, free: 444 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.005956, allocations: 25.7 kB / 277.8 MB, free: 412 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.846e-05/0.006025, allocations: 158.6 kB / 277.9 MB, free: 248 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.595e-05/0.00605, allocations: 35.69 kB / 278 MB, free: 212 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.343e-05/0.006094, allocations: 31.36 kB / 278 MB, free: 172 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.006254, allocations: 0.4923 MB / 278.5 MB, free: 15.66 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.807e-05/0.006272, allocations: 4 kB / 278.5 MB, free: 15.66 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.164e-05/0.006324, allocations: 66.11 kB / 278.6 MB, free: 15.57 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.338e-05/0.006407, allocations: 93.97 kB / 278.7 MB, free: 15.45 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.00641, allocations: 3.938 kB / 278.7 MB, free: 15.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001316/0.006541, allocations: 93.5 kB / 278.7 MB, free: 15.35 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.006554, allocations: 4 kB / 278.8 MB, free: 15.35 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.006561, allocations: 7.984 kB / 278.8 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.006571, allocations: 0 / 278.8 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.339e-05/0.006645, allocations: 23.94 kB / 278.8 MB, free: 15.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.006652, allocations: 11.98 kB / 278.8 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.41e-05/0.006687, allocations: 4.094 kB / 278.8 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.006695, allocations: 8 kB / 278.8 MB, free: 15.29 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 7.982e-05/0.006775, allocations: 168.5 kB / 279 MB, free: 15.12 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.506e-05/0.0068, allocations: 4.141 kB / 279 MB, free: 15.11 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.854e-05/0.006828, allocations: 12.42 kB / 279 MB, free: 15.1 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.00683, allocations: 0 / 279 MB, free: 15.1 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-06/0.006832, allocations: 0 / 279 MB, free: 15.1 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.006835, allocations: 4 kB / 279 MB, free: 15.09 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000386/0.007221, allocations: 388.3 kB / 279.4 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.007223, allocations: 0 / 279.4 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.863e-05/0.007291, allocations: 19.94 kB / 279.4 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.007296, allocations: 7.984 kB / 279.4 MB, free: 14.63 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.007304, allocations: 4 kB / 279.4 MB, free: 14.63 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-06/0.007307, allocations: 4 kB / 279.4 MB, free: 14.62 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.007309, allocations: 0 / 279.4 MB, free: 14.62 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001944/0.007503, allocations: 278.2 kB / 279.7 MB, free: 14.31 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.126e-05/0.007514, allocations: 7.953 kB / 279.7 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.007527, allocations: 0 / 279.7 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.751e-05/0.007594, allocations: 12.09 kB / 279.7 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.144e-05/0.007616, allocations: 15.86 kB / 279.7 MB, free: 14.28 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.137e-06/0.00762, allocations: 0 / 279.7 MB, free: 14.28 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.904e-05/0.007669, allocations: 131.5 kB / 279.8 MB, free: 14.15 MB / 266.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.007669, allocations: 0 / 279.8 MB, free: 14.15 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000296/0.007965, allocations: 19.98 kB / 279.9 MB, free: 14.13 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 9.393e-05/0.008059, allocations: 95.25 kB / 280 MB, free: 14.03 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001071/0.008166, allocations: 51.55 kB / 280 MB, free: 13.97 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.008168, allocations: 8.125 kB / 280 MB, free: 13.96 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.569e-05/0.008204, allocations: 39.59 kB / 280.1 MB, free: 13.92 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003328/0.008537, allocations: 11.36 kB / 280.1 MB, free: 13.91 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004859/0.009023, allocations: 309.3 kB / 280.4 MB, free: 13.56 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.176e-05/0.009074, allocations: 67.2 kB / 280.4 MB, free: 13.48 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.637e-05/0.009111, allocations: 8.5 kB / 280.4 MB, free: 13.47 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.476e-05/0.009175, allocations: 78.19 kB / 280.5 MB, free: 13.39 MB / 266.7 MB Notification: Performance of SimCode: time 5.61e-07/0.009176, allocations: 0 / 280.5 MB, free: 13.39 MB / 266.7 MB Notification: Performance of Templates: time 0.002805/0.01198, allocations: 0.7063 MB / 281.2 MB, free: 12.7 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.7008171128109097]