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.001397/0.001397, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001499/0.001499, allocations: 203 kB / 23.72 MB, free: 4.391 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.54/1.54, allocations: 230.5 MB / 257.4 MB, free: 7.762 MB / 206.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.002117/0.002117, allocations: 67.89 kB / 378.2 MB, free: 2.336 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.2925, allocations: 53.4 MB / 431.6 MB, free: 6.516 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.00305/0.2956, allocations: 1.625 MB / 433.2 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002388/0.2958, allocations: 71.72 kB / 433.3 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.803e-05/0.2959, allocations: 0 / 433.3 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001069/0.296, allocations: 15.86 kB / 433.3 MB, free: 4.801 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.402e-05/0.2961, allocations: 19.84 kB / 433.3 MB, free: 4.781 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001362/0.2962, allocations: 19.92 kB / 433.4 MB, free: 4.762 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001394/0.2963, allocations: 63.67 kB / 433.4 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.2964, allocations: 15.98 kB / 433.4 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.451e-05/0.2965, allocations: 23.92 kB / 433.5 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.181e-05/0.2966, allocations: 27.84 kB / 433.5 MB, free: 4.633 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.2966, allocations: 4 kB / 433.5 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.664e-05/0.2966, allocations: 4 kB / 433.5 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.085e-05/0.2966, allocations: 19.94 kB / 433.5 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.489e-05/0.2966, allocations: 19.92 kB / 433.5 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001269/0.2968, allocations: 65.98 kB / 433.6 MB, free: 4.527 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.2968, allocations: 3.984 kB / 433.6 MB, free: 4.523 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2968, allocations: 0 / 433.6 MB, free: 4.523 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.2968, allocations: 0 / 433.6 MB, free: 4.523 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.0005/0.2973, allocations: 290.2 kB / 433.9 MB, free: 4.207 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.2973, allocations: 11.98 kB / 433.9 MB, free: 4.195 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.785e-05/0.2974, allocations: 8.891 kB / 433.9 MB, free: 4.188 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000209/0.2976, allocations: 130.4 kB / 434 MB, free: 4.035 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.2976, allocations: 384 / 434 MB, free: 4.035 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.115e-05/0.2976, allocations: 16.38 kB / 434.1 MB, free: 4.02 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.2978, allocations: 69.41 kB / 434.1 MB, free: 3.949 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.2978, allocations: 4.188 kB / 434.1 MB, free: 3.945 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.023e-05/0.2978, allocations: 7.938 kB / 434.1 MB, free: 3.938 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.2978, allocations: 0 / 434.1 MB, free: 3.938 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.842e-05/0.2979, allocations: 31.98 kB / 434.2 MB, free: 3.906 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005948/0.2985, allocations: 307.3 kB / 434.5 MB, free: 3.57 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.2986, allocations: 54.56 kB / 434.5 MB, free: 3.508 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.782e-05/0.2986, allocations: 32.72 kB / 434.6 MB, free: 3.473 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/0.2986, allocations: 7.984 kB / 434.6 MB, free: 3.465 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.2987, allocations: 30.56 kB / 434.6 MB, free: 3.426 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.2987, allocations: 0 / 434.6 MB, free: 3.426 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006998/0.2994, allocations: 371.7 kB / 435 MB, free: 3.008 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.989e-05/0.2994, allocations: 55.41 kB / 435 MB, free: 2.941 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.852e-05/0.2995, allocations: 105.8 kB / 435.1 MB, free: 2.828 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.2995, allocations: 29.8 kB / 435.1 MB, free: 2.793 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.134e-05/0.2996, allocations: 103.9 kB / 435.2 MB, free: 2.688 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.337e-05/0.2996, allocations: 39.73 kB / 435.3 MB, free: 2.648 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.016e-05/0.2997, allocations: 21.72 kB / 435.3 MB, free: 2.621 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.2998, allocations: 322.8 kB / 435.6 MB, free: 2.297 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.749e-05/0.2999, allocations: 23.98 kB / 435.6 MB, free: 2.273 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.579e-05/0.3, allocations: 57.14 kB / 435.7 MB, free: 2.199 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001203/0.3001, allocations: 85.03 kB / 435.8 MB, free: 2.098 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.3001, allocations: 0 / 435.8 MB, free: 2.098 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001827/0.3003, allocations: 113.5 kB / 435.9 MB, free: 1.98 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.3003, allocations: 7.984 kB / 435.9 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.3003, allocations: 4 kB / 435.9 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.3003, allocations: 0 / 435.9 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.618e-05/0.3004, allocations: 20 kB / 435.9 MB, free: 1.949 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/0.3004, allocations: 7.922 kB / 435.9 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.125e-05/0.3005, allocations: 4 kB / 435.9 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.3005, allocations: 7.938 kB / 435.9 MB, free: 1.93 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.3006, allocations: 117.8 kB / 436.1 MB, free: 1.805 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.875e-05/0.3006, allocations: 8.047 kB / 436.1 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.495e-05/0.3006, allocations: 12.38 kB / 436.1 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.3006, allocations: 0 / 436.1 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.3006, allocations: 4 kB / 436.1 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.3006, allocations: 0 / 436.1 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004884/0.3011, allocations: 354.2 kB / 436.4 MB, free: 1.375 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.3011, allocations: 0 / 436.4 MB, free: 1.375 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/0.3012, allocations: 20.17 kB / 436.4 MB, free: 1.355 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.3012, allocations: 4 kB / 436.4 MB, free: 1.352 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.3012, allocations: 8.094 kB / 436.5 MB, free: 1.344 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.3013, allocations: 4 kB / 436.5 MB, free: 1.34 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/0.3013, allocations: 11.92 kB / 436.5 MB, free: 1.328 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002731/0.3015, allocations: 235.7 kB / 436.7 MB, free: 1.066 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.304e-05/0.3015, allocations: 4 kB / 436.7 MB, free: 1.062 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/0.3016, allocations: 7.922 kB / 436.7 MB, free: 1.055 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.367e-05/0.3016, allocations: 4 kB / 436.7 MB, free: 1.051 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.947e-05/0.3017, allocations: 8 kB / 436.7 MB, free: 1.043 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.3017, allocations: 7.984 kB / 436.7 MB, free: 1.035 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.115e-05/0.3017, allocations: 83.28 kB / 436.8 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3017, allocations: 4.156 kB / 436.8 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002627/0.302, allocations: 19.94 kB / 436.8 MB, free: 0.9297 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.0001215/0.3021, allocations: 99.19 kB / 436.9 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001528/0.3023, allocations: 55.91 kB / 437 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.3023, allocations: 0 / 437 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.434e-05/0.3023, allocations: 27.88 kB / 437 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003333/0.3026, allocations: 34.05 kB / 437.1 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006361/0.3033, allocations: 331.6 kB / 437.4 MB, free: 360 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.53e-05/0.3034, allocations: 75.33 kB / 437.4 MB, free: 264 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.492e-05/0.3034, allocations: 8.438 kB / 437.5 MB, free: 256 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.984e-05/0.3034, allocations: 11.44 kB / 437.5 MB, free: 244 kB / 334.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3034, allocations: 0 / 437.5 MB, free: 244 kB / 334.1 MB Notification: Performance of Templates: time 0.003474/0.3069, allocations: 0.6674 MB / 438.1 MB, free: 15.57 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 -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.404901085421443]