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.001814/0.001814, allocations: 81.7 kB / 21.25 MB, free: 0.5469 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.002217/0.002217, allocations: 160.5 kB / 24.5 MB, free: 3.719 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.518/1.518, allocations: 177.1 MB / 204.7 MB, free: 8.973 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 0.001951/0.001951, allocations: 65.8 kB / 325.5 MB, free: 192 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08969/0.09164, allocations: 53.39 MB / 378.9 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002869/0.09451, allocations: 1.642 MB / 380.5 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002474/0.09475, allocations: 63.73 kB / 380.6 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.881e-05/0.09481, allocations: 0 / 380.6 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.283e-05/0.09491, allocations: 11.86 kB / 380.6 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.788e-05/0.09496, allocations: 19.86 kB / 380.6 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001123/0.09508, allocations: 15.97 kB / 380.6 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001259/0.0952, allocations: 67.67 kB / 380.7 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.09531, allocations: 15.98 kB / 380.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.389e-05/0.09535, allocations: 27.92 kB / 380.8 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.298e-05/0.09543, allocations: 27.84 kB / 380.8 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.587e-05/0.09544, allocations: 4 kB / 380.8 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.039e-05/0.09546, allocations: 4 kB / 380.8 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.321e-05/0.09549, allocations: 8 kB / 380.8 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.368e-05/0.09553, allocations: 23.86 kB / 380.8 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001258/0.09566, allocations: 75.66 kB / 380.9 MB, free: 13.49 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.09566, allocations: 0 / 380.9 MB, free: 13.49 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.09566, allocations: 0 / 380.9 MB, free: 13.49 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.679e-06/0.09567, allocations: 0 / 380.9 MB, free: 13.49 MB / 350.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.0004488/0.09612, allocations: 286.2 kB / 381.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.09615, allocations: 8.031 kB / 381.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.259e-05/0.09618, allocations: 8.891 kB / 381.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002126/0.0964, allocations: 130.4 kB / 381.3 MB, free: 13.01 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.09641, allocations: 4.375 kB / 381.3 MB, free: 13.01 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.538e-05/0.09643, allocations: 4.375 kB / 381.3 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.09657, allocations: 74.23 kB / 381.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.09659, allocations: 192 / 381.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.0966, allocations: 7.938 kB / 381.4 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.0966, allocations: 0 / 381.4 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.528e-05/0.09669, allocations: 39.91 kB / 381.4 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005757/0.09726, allocations: 307.5 kB / 381.7 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001048/0.09737, allocations: 58.5 kB / 381.8 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.325e-05/0.0974, allocations: 16.84 kB / 381.8 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.127e-06/0.09741, allocations: 4 kB / 381.8 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.09744, allocations: 30.56 kB / 381.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.09744, allocations: 4 kB / 381.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.000671/0.09811, allocations: 375.2 kB / 382.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.969e-05/0.09815, allocations: 55.34 kB / 382.3 MB, free: 11.92 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.878e-05/0.09824, allocations: 109.8 kB / 382.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.09825, allocations: 25.7 kB / 382.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.582e-05/0.09832, allocations: 103.9 kB / 382.5 MB, free: 11.67 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.838e-05/0.09835, allocations: 31.73 kB / 382.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.452e-05/0.09839, allocations: 29.7 kB / 382.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.09852, allocations: 322.8 kB / 382.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.942e-05/0.09856, allocations: 23.98 kB / 382.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.134e-05/0.09863, allocations: 61.08 kB / 383 MB, free: 11.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001133/0.09875, allocations: 89.08 kB / 383.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.09875, allocations: 0 / 383.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001645/0.09891, allocations: 113.5 kB / 383.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.09893, allocations: 6.812 kB / 383.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.09893, allocations: 4.094 kB / 383.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.09895, allocations: 4 kB / 383.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.907e-05/0.09904, allocations: 23.98 kB / 383.2 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.09904, allocations: 3.938 kB / 383.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.097e-05/0.09908, allocations: 8 kB / 383.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.09909, allocations: 7.938 kB / 383.2 MB, free: 10.9 MB / 350.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 8.873e-05/0.09918, allocations: 113.8 kB / 383.3 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.723e-05/0.09921, allocations: 7.953 kB / 383.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.268e-05/0.09924, allocations: 12.44 kB / 383.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.09924, allocations: 0 / 383.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.09925, allocations: 4 kB / 383.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.09925, allocations: 0 / 383.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004403/0.09969, allocations: 346.2 kB / 383.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.09969, allocations: 3.984 kB / 383.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.854e-05/0.09978, allocations: 16 kB / 383.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.09979, allocations: 4 kB / 383.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.0998, allocations: 7.938 kB / 383.7 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.0998, allocations: 4 kB / 383.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.09981, allocations: 8.094 kB / 383.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002557/0.1001, allocations: 235.8 kB / 384 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.106e-05/0.1001, allocations: 3.984 kB / 384 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/0.1001, allocations: 15.88 kB / 384 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.934e-05/0.1002, allocations: 4 kB / 384 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.252e-05/0.1002, allocations: 7.984 kB / 384 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.1002, allocations: 0 / 384 MB, free: 10.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.683e-05/0.1002, allocations: 88.45 kB / 384.1 MB, free: 9.938 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1002, allocations: 0 / 384.1 MB, free: 9.938 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002545/0.1005, allocations: 16 kB / 384.1 MB, free: 9.922 MB / 350.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.0001059/0.1006, allocations: 103.4 kB / 384.2 MB, free: 9.812 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001406/0.1007, allocations: 63.89 kB / 384.3 MB, free: 9.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1007, allocations: 0 / 384.3 MB, free: 9.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.405e-05/0.1008, allocations: 35.86 kB / 384.3 MB, free: 9.715 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/0.1011, allocations: 19.88 kB / 384.3 MB, free: 9.695 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006074/0.1017, allocations: 332.1 kB / 384.6 MB, free: 9.328 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.087e-05/0.1018, allocations: 79.33 kB / 384.7 MB, free: 9.23 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.384e-05/0.1018, allocations: 8.484 kB / 384.7 MB, free: 9.223 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.846e-05/0.1018, allocations: 12.5 kB / 384.7 MB, free: 9.211 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1018, allocations: 0 / 384.7 MB, free: 9.211 MB / 350.1 MB Notification: Performance of Templates: time 0.003011/0.1048, allocations: 0.6181 MB / 385.4 MB, free: 8.605 MB / 350.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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Accelerate/Accelerate.csv","/var/lib/jenkins1/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.232107245014049]