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.001395/0.001395, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001583/0.001583, allocations: 211.4 kB / 24.48 MB, free: 3.934 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: 230.5 MB / 258.1 MB, free: 7.777 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.001927/0.001927, allocations: 59.91 kB / 379 MB, free: 2.324 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2815/0.2834, allocations: 53.41 MB / 432.4 MB, free: 6.523 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.003033/0.2865, allocations: 1.64 MB / 434 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002518/0.2867, allocations: 67.78 kB / 434.1 MB, free: 4.812 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.246e-05/0.2868, allocations: 3.938 kB / 434.1 MB, free: 4.809 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.485e-05/0.2869, allocations: 3.938 kB / 434.1 MB, free: 4.805 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.446e-05/0.2869, allocations: 19.84 kB / 434.1 MB, free: 4.785 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001182/0.2871, allocations: 15.98 kB / 434.1 MB, free: 4.77 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001268/0.2872, allocations: 63.67 kB / 434.2 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.2873, allocations: 19.98 kB / 434.2 MB, free: 4.688 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.116e-05/0.2874, allocations: 27.91 kB / 434.2 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.939e-05/0.2874, allocations: 23.86 kB / 434.3 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.2874, allocations: 4 kB / 434.3 MB, free: 4.633 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.515e-05/0.2875, allocations: 4 kB / 434.3 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.992e-05/0.2875, allocations: 12 kB / 434.3 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.676e-05/0.2875, allocations: 27.8 kB / 434.3 MB, free: 4.59 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001296/0.2877, allocations: 70.39 kB / 434.4 MB, free: 4.527 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.2877, allocations: 0 / 434.4 MB, free: 4.527 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.2877, allocations: 0 / 434.4 MB, free: 4.527 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.2877, allocations: 0 / 434.4 MB, free: 4.527 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.0004629/0.2881, allocations: 294.2 kB / 434.7 MB, free: 4.207 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.2882, allocations: 11.98 kB / 434.7 MB, free: 4.195 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.225e-05/0.2882, allocations: 12.89 kB / 434.7 MB, free: 4.184 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000219/0.2884, allocations: 122.5 kB / 434.8 MB, free: 4.039 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.2884, allocations: 384 / 434.8 MB, free: 4.039 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.885e-05/0.2885, allocations: 12.38 kB / 434.8 MB, free: 4.027 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.2886, allocations: 73.06 kB / 434.9 MB, free: 3.953 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.2886, allocations: 4.188 kB / 434.9 MB, free: 3.949 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.2886, allocations: 7.938 kB / 434.9 MB, free: 3.941 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.2887, allocations: 4 kB / 434.9 MB, free: 3.938 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.835e-05/0.2887, allocations: 35.97 kB / 434.9 MB, free: 3.902 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005971/0.2893, allocations: 307.3 kB / 435.2 MB, free: 3.566 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.2894, allocations: 54.56 kB / 435.3 MB, free: 3.504 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.086e-05/0.2895, allocations: 20.86 kB / 435.3 MB, free: 3.48 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.318e-06/0.2895, allocations: 3.984 kB / 435.3 MB, free: 3.477 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/0.2895, allocations: 34.5 kB / 435.3 MB, free: 3.434 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.2895, allocations: 0 / 435.3 MB, free: 3.434 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007329/0.2903, allocations: 371.3 kB / 435.7 MB, free: 3.016 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.593e-05/0.2903, allocations: 55.41 kB / 435.8 MB, free: 2.949 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.2904, allocations: 114.6 kB / 435.9 MB, free: 2.828 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.2904, allocations: 25.7 kB / 435.9 MB, free: 2.797 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.976e-05/0.2905, allocations: 103.9 kB / 436 MB, free: 2.691 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.927e-05/0.2905, allocations: 31.73 kB / 436 MB, free: 2.66 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.643e-05/0.2906, allocations: 25.7 kB / 436.1 MB, free: 2.629 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.2907, allocations: 318.8 kB / 436.4 MB, free: 2.309 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.911e-05/0.2908, allocations: 23.98 kB / 436.4 MB, free: 2.285 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.985e-05/0.2908, allocations: 57.14 kB / 436.4 MB, free: 2.211 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001116/0.2909, allocations: 89.03 kB / 436.5 MB, free: 2.105 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.2909, allocations: 0 / 436.5 MB, free: 2.105 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001808/0.2911, allocations: 113.5 kB / 436.6 MB, free: 1.988 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.2911, allocations: 4 kB / 436.6 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.2911, allocations: 4 kB / 436.7 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.2912, allocations: 0 / 436.7 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.849e-05/0.2912, allocations: 27.92 kB / 436.7 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/0.2913, allocations: 4.094 kB / 436.7 MB, free: 1.949 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.876e-05/0.2913, allocations: 4 kB / 436.7 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.2913, allocations: 11.94 kB / 436.7 MB, free: 1.934 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 9.275e-05/0.2914, allocations: 117.8 kB / 436.8 MB, free: 1.809 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.722e-05/0.2914, allocations: 7.953 kB / 436.8 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.217e-05/0.2915, allocations: 8.375 kB / 436.8 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.2915, allocations: 0 / 436.8 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.2915, allocations: 0 / 436.8 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.2915, allocations: 7.984 kB / 436.8 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004561/0.2919, allocations: 354.2 kB / 437.2 MB, free: 1.379 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2919, allocations: 0 / 437.2 MB, free: 1.379 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.652e-05/0.292, allocations: 20.12 kB / 437.2 MB, free: 1.359 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.292, allocations: 8 kB / 437.2 MB, free: 1.352 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.292, allocations: 3.938 kB / 437.2 MB, free: 1.348 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.292, allocations: 4.406 kB / 437.2 MB, free: 1.344 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.292, allocations: 7.922 kB / 437.2 MB, free: 1.336 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002465/0.2923, allocations: 231.8 kB / 437.5 MB, free: 1.078 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.204e-05/0.2923, allocations: 8.203 kB / 437.5 MB, free: 1.07 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.2923, allocations: 7.938 kB / 437.5 MB, free: 1.062 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.869e-05/0.2924, allocations: 8 kB / 437.5 MB, free: 1.055 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.983e-05/0.2924, allocations: 11.92 kB / 437.5 MB, free: 1.043 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.204e-06/0.2924, allocations: 4 kB / 437.5 MB, free: 1.039 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.962e-05/0.2925, allocations: 87.27 kB / 437.6 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2925, allocations: 0 / 437.6 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002457/0.2927, allocations: 12 kB / 437.6 MB, free: 0.9414 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.0001138/0.2928, allocations: 103.2 kB / 437.7 MB, free: 0.832 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001539/0.293, allocations: 59.86 kB / 437.7 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.293, allocations: 3.938 kB / 437.8 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.351e-05/0.293, allocations: 27.92 kB / 437.8 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.0003051/0.2933, allocations: 19.94 kB / 437.8 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006321/0.294, allocations: 361.8 kB / 438.2 MB, free: 332 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.303e-05/0.294, allocations: 79.33 kB / 438.2 MB, free: 232 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.741e-05/0.2941, allocations: 15.38 kB / 438.2 MB, free: 216 kB / 334.1 MB Notification: Performance of SimCode: time 6.41e-07/0.2941, allocations: 4 kB / 438.2 MB, free: 212 kB / 334.1 MB Notification: Performance of Templates: time 0.002645/0.2967, allocations: 0.9993 MB / 439.2 MB, free: 15.21 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/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: 6.834173055831343]