Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001754/0.002929, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001588/0.002695, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.946/0.946, allocations: 173.4 MB / 185.8 MB, free: 8.977 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08594/1.032, allocations: 52.5 MB / 238.3 MB, free: 4.414 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 239.5 MB, free: 3.18 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.08e-05/2.212e-05, allocations: 2.312 kB / 239.5 MB, free: 3.176 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.00242/0.002442, allocations: 1.71 MB / 241.2 MB, free: 1.457 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001124/0.002554, allocations: 71.73 kB / 241.3 MB, free: 1.387 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.359e-05/0.002598, allocations: 3.938 kB / 241.3 MB, free: 1.383 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 4.296e-05/0.002641, allocations: 7.922 kB / 241.3 MB, free: 1.375 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 3.906e-05/0.00268, allocations: 23.78 kB / 241.4 MB, free: 1.352 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.305e-05/0.002733, allocations: 15.97 kB / 241.4 MB, free: 1.336 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 8.319e-05/0.002816, allocations: 67.67 kB / 241.4 MB, free: 1.27 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.353e-05/0.002889, allocations: 19.94 kB / 241.5 MB, free: 1.25 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.724e-05/0.002947, allocations: 39.95 kB / 241.5 MB, free: 1.211 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.453e-05/0.003001, allocations: 23.92 kB / 241.5 MB, free: 1.188 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/0.003018, allocations: 4 kB / 241.5 MB, free: 1.184 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.087e-06/0.003027, allocations: 4 kB / 241.5 MB, free: 1.18 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.41e-05/0.003041, allocations: 11.94 kB / 241.5 MB, free: 1.168 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.81e-05/0.003069, allocations: 16 kB / 241.5 MB, free: 1.152 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 9.169e-05/0.003161, allocations: 43.77 kB / 241.6 MB, free: 1.109 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.287e-05/0.003173, allocations: 4 kB / 241.6 MB, free: 1.105 MB / 234.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.003174, allocations: 0 / 241.6 MB, free: 1.105 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.396e-05/0.003188, allocations: 0 / 241.6 MB, free: 1.105 MB / 234.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.0003649/0.003553, allocations: 280.4 kB / 241.9 MB, free: 0.8047 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.651e-05/0.00358, allocations: 8.031 kB / 241.9 MB, free: 0.7969 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.794e-05/0.003608, allocations: 4.938 kB / 241.9 MB, free: 0.793 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.003725, allocations: 125.7 kB / 242 MB, free: 0.6445 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-06/0.003733, allocations: 4.375 kB / 242 MB, free: 0.6406 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.71e-05/0.00375, allocations: 8.375 kB / 242 MB, free: 0.6328 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.239e-05/0.003823, allocations: 58.17 kB / 242.1 MB, free: 0.5703 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.003833, allocations: 8.109 kB / 242.1 MB, free: 0.5625 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.003842, allocations: 8.359 kB / 242.1 MB, free: 0.5547 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.003847, allocations: 4.375 kB / 242.1 MB, free: 0.5508 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.708e-05/0.003884, allocations: 27.58 kB / 242.1 MB, free: 0.5273 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003216/0.004206, allocations: 235.3 kB / 242.4 MB, free: 280 kB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.382e-05/0.00426, allocations: 46.48 kB / 242.4 MB, free: 224 kB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.486e-05/0.004274, allocations: 12.86 kB / 242.4 MB, free: 208 kB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.665e-06/0.004282, allocations: 7.938 kB / 242.4 MB, free: 200 kB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.667e-05/0.004299, allocations: 30.56 kB / 242.4 MB, free: 160 kB / 234.7 MB Notification: Performance of pre-optimization done (n=7): time 8.32e-07/0.0043, allocations: 0 / 242.4 MB, free: 160 kB / 234.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004755/0.004775, allocations: 351.7 kB / 242.8 MB, free: 15.76 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.279e-05/0.004798, allocations: 51.41 kB / 242.8 MB, free: 15.7 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.828e-05/0.004846, allocations: 114.6 kB / 243 MB, free: 15.57 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.236e-06/0.004854, allocations: 25.7 kB / 243 MB, free: 15.54 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.934e-05/0.004884, allocations: 100 kB / 243.1 MB, free: 15.44 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.994e-05/0.004904, allocations: 35.69 kB / 243.1 MB, free: 15.4 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-05/0.004931, allocations: 33.64 kB / 243.1 MB, free: 15.36 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.492e-05/0.004996, allocations: 322.8 kB / 243.5 MB, free: 15.04 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.011e-05/0.005006, allocations: 8 kB / 243.5 MB, free: 15.03 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.826e-05/0.005034, allocations: 45.14 kB / 243.5 MB, free: 14.97 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.844e-05/0.005083, allocations: 73.05 kB / 243.6 MB, free: 14.88 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.005084, allocations: 0 / 243.6 MB, free: 14.88 MB / 250.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 6.874e-05/0.005153, allocations: 81.47 kB / 243.7 MB, free: 14.79 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/0.005163, allocations: 8 kB / 243.7 MB, free: 14.79 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.005167, allocations: 0 / 243.7 MB, free: 14.79 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.035e-06/0.005175, allocations: 8.094 kB / 243.7 MB, free: 14.78 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.088e-05/0.005235, allocations: 31.92 kB / 243.7 MB, free: 14.75 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.00524, allocations: 4 kB / 243.7 MB, free: 14.74 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.998e-05/0.00526, allocations: 4 kB / 243.7 MB, free: 14.74 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-06/0.005264, allocations: 4 kB / 243.7 MB, free: 14.73 MB / 250.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 4.576e-05/0.00531, allocations: 117.8 kB / 243.8 MB, free: 14.61 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.558e-05/0.005325, allocations: 12.06 kB / 243.8 MB, free: 14.6 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.56e-05/0.005351, allocations: 16.42 kB / 243.9 MB, free: 14.58 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.02e-07/0.005352, allocations: 0 / 243.9 MB, free: 14.58 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-06/0.005353, allocations: 0 / 243.9 MB, free: 14.58 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.005355, allocations: 7.938 kB / 243.9 MB, free: 14.57 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002191/0.005574, allocations: 274.9 kB / 244.1 MB, free: 14.26 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.005576, allocations: 0 / 244.1 MB, free: 14.26 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001867/0.005763, allocations: 27.92 kB / 244.2 MB, free: 14.23 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.045e-06/0.005771, allocations: 7.953 kB / 244.2 MB, free: 14.23 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.005773, allocations: 0 / 244.2 MB, free: 14.23 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.403e-06/0.00578, allocations: 8 kB / 244.2 MB, free: 14.22 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/0.005781, allocations: 0 / 244.2 MB, free: 14.22 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.005783, allocations: 4.156 kB / 244.2 MB, free: 14.21 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001157/0.005899, allocations: 205.3 kB / 244.4 MB, free: 13.98 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.016e-05/0.005909, allocations: 4 kB / 244.4 MB, free: 13.98 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.342e-05/0.005952, allocations: 4 kB / 244.4 MB, free: 13.98 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.386e-05/0.005966, allocations: 15.86 kB / 244.4 MB, free: 13.96 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.005969, allocations: 4 kB / 244.4 MB, free: 13.96 MB / 250.7 MB Notification: Performance of sorting global known variables: time 9.929e-06/0.005979, allocations: 12.84 kB / 244.4 MB, free: 13.94 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005979, allocations: 4 kB / 244.4 MB, free: 13.94 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001282/0.006107, allocations: 16 kB / 244.4 MB, free: 13.92 MB / 250.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 6.491e-05/0.006172, allocations: 80.45 kB / 244.5 MB, free: 13.84 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.69e-05/0.006249, allocations: 52.7 kB / 244.6 MB, free: 13.78 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/0.006256, allocations: 0 / 244.6 MB, free: 13.78 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.264e-05/0.006278, allocations: 32.78 kB / 244.6 MB, free: 13.75 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001688/0.006447, allocations: 15.88 kB / 244.6 MB, free: 13.73 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006505/0.007097, allocations: 249.2 kB / 244.9 MB, free: 13.45 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.228e-05/0.00713, allocations: 63.34 kB / 244.9 MB, free: 13.36 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.52e-05/0.007155, allocations: 8.484 kB / 244.9 MB, free: 13.36 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.739e-05/0.007192, allocations: 55.38 kB / 245 MB, free: 13.3 MB / 250.7 MB Notification: Performance of SimCode: time 4.51e-07/0.007193, allocations: 4 kB / 245 MB, free: 13.3 MB / 250.7 MB Notification: Performance of Templates: time 0.001917/0.00911, allocations: 0.7137 MB / 245.7 MB, free: 12.59 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.3912834469228983]