Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Accelerate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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=2000,variableFilter="time|accelerate.s|accelerate.v",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Accelerate") translateModel(Modelica.Mechanics.Translational.Examples.Accelerate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|accelerate.s|accelerate.v",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Accelerate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007809/0.0007809, allocations: 93.22 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008614/0.0008614, allocations: 203.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.412/1.412, allocations: 228 MB / 247.1 MB, free: 11.26 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.0003109/0.0003109, allocations: 12.86 kB / 308 MB, free: 0.6953 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1031, allocations: 51.53 MB / 359.6 MB, free: 13.15 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.001866/0.105, allocations: 1.359 MB / 360.9 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002041/0.1052, allocations: 67.7 kB / 361 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.424e-05/0.1053, allocations: 4 kB / 361 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 7.898e-05/0.1054, allocations: 11.92 kB / 361 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.367e-05/0.1055, allocations: 7.922 kB / 361 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001097/0.1056, allocations: 19.98 kB / 361 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001187/0.1057, allocations: 67.67 kB / 361.1 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.1058, allocations: 19.97 kB / 361.1 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.136e-05/0.1059, allocations: 15.94 kB / 361.1 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.042e-05/0.1059, allocations: 27.84 kB / 361.2 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.742e-05/0.1059, allocations: 7.938 kB / 361.2 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.391e-05/0.106, allocations: 4 kB / 361.2 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.807e-05/0.106, allocations: 7.984 kB / 361.2 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.211e-05/0.106, allocations: 49.58 kB / 361.2 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000106/0.1062, allocations: 67.98 kB / 361.3 MB, free: 11.4 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.1062, allocations: 3.938 kB / 361.3 MB, free: 11.4 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1062, allocations: 0 / 361.3 MB, free: 11.4 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.536e-06/0.1062, allocations: 0 / 361.3 MB, free: 11.4 MB / 302.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.0004258/0.1066, allocations: 351.3 kB / 361.6 MB, free: 11 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.1067, allocations: 12.03 kB / 361.7 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.183e-05/0.1067, allocations: 4.938 kB / 361.7 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001771/0.1069, allocations: 180.2 kB / 361.8 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.1069, allocations: 12.38 kB / 361.8 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.41e-05/0.1069, allocations: 8.375 kB / 361.9 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.1071, allocations: 73.55 kB / 361.9 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.1071, allocations: 192 / 361.9 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.1071, allocations: 7.938 kB / 361.9 MB, free: 10.67 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.1071, allocations: 0 / 361.9 MB, free: 10.67 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.825e-05/0.1072, allocations: 35.97 kB / 362 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006394/0.1079, allocations: 383.5 kB / 362.3 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.108, allocations: 58.5 kB / 362.4 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.024e-05/0.108, allocations: 20.84 kB / 362.4 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.057e-06/0.1081, allocations: 4 kB / 362.4 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.1081, allocations: 30.56 kB / 362.5 MB, free: 10.07 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.1081, allocations: 0 / 362.5 MB, free: 10.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007639/0.1089, allocations: 0.5177 MB / 363 MB, free: 9.461 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.1089, allocations: 51.41 kB / 363 MB, free: 9.398 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.109, allocations: 121.8 kB / 363.1 MB, free: 9.27 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.109, allocations: 25.7 kB / 363.2 MB, free: 9.238 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.152e-05/0.1091, allocations: 96.03 kB / 363.3 MB, free: 9.141 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.723e-05/0.1092, allocations: 31.5 kB / 363.3 MB, free: 9.109 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.411e-05/0.1092, allocations: 25.7 kB / 363.3 MB, free: 9.078 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.1093, allocations: 314.8 kB / 363.6 MB, free: 8.762 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.62e-05/0.1094, allocations: 19.98 kB / 363.6 MB, free: 8.742 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.604e-05/0.1094, allocations: 64.64 kB / 363.7 MB, free: 8.664 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001193/0.1096, allocations: 89.06 kB / 363.8 MB, free: 8.559 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.1096, allocations: 4 kB / 363.8 MB, free: 8.555 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001641/0.1098, allocations: 101.5 kB / 363.9 MB, free: 8.449 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.1098, allocations: 10.5 kB / 363.9 MB, free: 8.441 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.1098, allocations: 80 / 363.9 MB, free: 8.441 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.1098, allocations: 4 kB / 363.9 MB, free: 8.438 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.744e-05/0.1099, allocations: 28.02 kB / 363.9 MB, free: 8.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.1099, allocations: 15.92 kB / 364 MB, free: 8.395 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.976e-05/0.11, allocations: 0 / 364 MB, free: 8.395 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.11, allocations: 4 kB / 364 MB, free: 8.391 MB / 302.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.172e-05/0.1101, allocations: 121.8 kB / 364.1 MB, free: 8.262 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.841e-05/0.1101, allocations: 3.906 kB / 364.1 MB, free: 8.258 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.154e-05/0.1101, allocations: 16.31 kB / 364.1 MB, free: 8.242 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.1102, allocations: 3.984 kB / 364.1 MB, free: 8.238 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.1102, allocations: 3.938 kB / 364.1 MB, free: 8.234 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.1102, allocations: 4 kB / 364.1 MB, free: 8.23 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005005/0.1107, allocations: 406.5 kB / 364.5 MB, free: 7.762 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1107, allocations: 0 / 364.5 MB, free: 7.762 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.575e-05/0.1108, allocations: 23.94 kB / 364.5 MB, free: 7.738 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.1108, allocations: 8.094 kB / 364.5 MB, free: 7.73 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.1108, allocations: 4 kB / 364.5 MB, free: 7.727 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.1108, allocations: 4 kB / 364.5 MB, free: 7.723 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.1108, allocations: 3.984 kB / 364.5 MB, free: 7.719 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000255/0.1111, allocations: 227.6 kB / 364.8 MB, free: 7.465 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.838e-05/0.1112, allocations: 93.03 kB / 364.9 MB, free: 7.355 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.1112, allocations: 4.469 kB / 364.9 MB, free: 7.352 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.889e-05/0.1113, allocations: 4.188 kB / 364.9 MB, free: 7.348 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.502e-05/0.1113, allocations: 7.984 kB / 364.9 MB, free: 7.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.918e-06/0.1113, allocations: 15.92 kB / 364.9 MB, free: 7.324 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.781e-05/0.1114, allocations: 91.22 kB / 365 MB, free: 7.234 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1114, allocations: 64 / 365 MB, free: 7.234 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002547/0.1116, allocations: 20 kB / 365 MB, free: 7.215 MB / 302.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.0001176/0.1118, allocations: 103.2 kB / 365.1 MB, free: 7.102 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001357/0.1119, allocations: 59.8 kB / 365.2 MB, free: 7.043 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.1119, allocations: 0 / 365.2 MB, free: 7.043 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.332e-05/0.112, allocations: 27.92 kB / 365.2 MB, free: 7.016 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003368/0.1123, allocations: 12.5 kB / 365.2 MB, free: 7.004 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00062/0.1129, allocations: 405.5 kB / 365.6 MB, free: 6.566 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003129/0.1133, allocations: 0.6926 MB / 366.3 MB, free: 5.848 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.526e-05/0.1133, allocations: 8.438 kB / 366.3 MB, free: 5.84 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.742e-05/0.1133, allocations: 11.44 kB / 366.3 MB, free: 5.828 MB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1133, allocations: 3.938 kB / 366.3 MB, free: 5.824 MB / 302.1 MB Notification: Performance of Templates: time 0.003143/0.1165, allocations: 0.6204 MB / 366.9 MB, free: 5.207 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Accelerate.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Accelerate.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Accelerate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Accelerate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches