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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=2000,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=2000,variableFilter="time|accelerate.s|accelerate.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001164/0.001164, allocations: 114.7 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001271/0.001271, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.347/1.347, allocations: 227.4 MB / 247.5 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 67.17 kB / 308.4 MB, free: 15.93 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1144, allocations: 50.54 MB / 358.9 MB, free: 13.37 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.003056/0.1175, allocations: 1.636 MB / 360.5 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002514/0.1178, allocations: 71.72 kB / 360.6 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.964e-05/0.1179, allocations: 4 kB / 360.6 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001042/0.118, allocations: 3.938 kB / 360.6 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.74e-05/0.118, allocations: 15.84 kB / 360.6 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001348/0.1182, allocations: 19.92 kB / 360.6 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001319/0.1183, allocations: 67.72 kB / 360.7 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.1185, allocations: 23.95 kB / 360.7 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.121e-05/0.1185, allocations: 35.86 kB / 360.8 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.447e-05/0.1186, allocations: 19.92 kB / 360.8 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.073e-05/0.1186, allocations: 7.938 kB / 360.8 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.549e-05/0.1186, allocations: 8 kB / 360.8 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.966e-05/0.1187, allocations: 8 kB / 360.8 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.89e-05/0.1187, allocations: 35.84 kB / 360.8 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001196/0.1188, allocations: 63.73 kB / 360.9 MB, free: 11.35 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1188, allocations: 0 / 360.9 MB, free: 11.35 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1189, allocations: 0 / 360.9 MB, free: 11.35 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.1189, allocations: 0 / 360.9 MB, free: 11.35 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.000469/0.1193, allocations: 367.3 kB / 361.3 MB, free: 10.94 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.1194, allocations: 8.031 kB / 361.3 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.396e-05/0.1194, allocations: 8.844 kB / 361.3 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001991/0.1196, allocations: 176.3 kB / 361.5 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.374e-05/0.1197, allocations: 12.31 kB / 361.5 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.797e-05/0.1197, allocations: 4.375 kB / 361.5 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.1198, allocations: 70.23 kB / 361.5 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.1199, allocations: 192 / 361.5 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.1199, allocations: 11.88 kB / 361.6 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.1199, allocations: 7.938 kB / 361.6 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.212e-05/0.12, allocations: 39.97 kB / 361.6 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006667/0.1207, allocations: 379.5 kB / 362 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.1208, allocations: 54.56 kB / 362 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.948e-05/0.1208, allocations: 20.86 kB / 362 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.076e-05/0.1208, allocations: 4 kB / 362 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.1209, allocations: 30.56 kB / 362.1 MB, free: 10.01 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.1209, allocations: 0 / 362.1 MB, free: 10.01 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.000749/0.1216, allocations: 0.513 MB / 362.6 MB, free: 9.402 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.373e-05/0.1217, allocations: 55.34 kB / 362.6 MB, free: 9.336 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.1218, allocations: 125.8 kB / 362.8 MB, free: 9.203 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.1218, allocations: 25.7 kB / 362.8 MB, free: 9.172 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.801e-05/0.1219, allocations: 92.03 kB / 362.9 MB, free: 9.078 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.474e-05/0.1219, allocations: 39.45 kB / 362.9 MB, free: 9.039 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.994e-05/0.122, allocations: 21.72 kB / 362.9 MB, free: 9.012 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.1221, allocations: 322.8 kB / 363.3 MB, free: 8.688 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.797e-05/0.1221, allocations: 16 kB / 363.3 MB, free: 8.672 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.585e-05/0.1222, allocations: 61.14 kB / 363.3 MB, free: 8.594 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000102/0.1223, allocations: 85.08 kB / 363.4 MB, free: 8.492 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1223, allocations: 0 / 363.4 MB, free: 8.492 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001614/0.1225, allocations: 117.4 kB / 363.5 MB, free: 8.371 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.1225, allocations: 7.938 kB / 363.5 MB, free: 8.363 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.1225, allocations: 4.469 kB / 363.5 MB, free: 8.359 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.1225, allocations: 0 / 363.5 MB, free: 8.359 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.546e-05/0.1226, allocations: 23.98 kB / 363.6 MB, free: 8.336 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/0.1226, allocations: 3.938 kB / 363.6 MB, free: 8.332 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.128e-05/0.1227, allocations: 4 kB / 363.6 MB, free: 8.328 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.288e-06/0.1227, allocations: 11.94 kB / 363.6 MB, free: 8.316 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.155e-05/0.1228, allocations: 129.8 kB / 363.7 MB, free: 8.18 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.742e-05/0.1228, allocations: 7.984 kB / 363.7 MB, free: 8.172 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.292e-05/0.1229, allocations: 8.375 kB / 363.7 MB, free: 8.164 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.1229, allocations: 0 / 363.7 MB, free: 8.164 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.1229, allocations: 7.938 kB / 363.7 MB, free: 8.156 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1229, allocations: 0 / 363.7 MB, free: 8.156 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004613/0.1234, allocations: 410.6 kB / 364.1 MB, free: 7.684 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.1234, allocations: 11.94 kB / 364.1 MB, free: 7.672 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.507e-05/0.1235, allocations: 23.92 kB / 364.2 MB, free: 7.648 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.1235, allocations: 0 / 364.2 MB, free: 7.648 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.1235, allocations: 4 kB / 364.2 MB, free: 7.645 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.1235, allocations: 0 / 364.2 MB, free: 7.645 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.1235, allocations: 4 kB / 364.2 MB, free: 7.641 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002278/0.1237, allocations: 231.8 kB / 364.4 MB, free: 7.383 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.387e-05/0.1238, allocations: 85.05 kB / 364.5 MB, free: 7.281 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.1238, allocations: 4 kB / 364.5 MB, free: 7.277 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.687e-05/0.1239, allocations: 0 / 364.5 MB, free: 7.277 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.79e-05/0.1239, allocations: 19.98 kB / 364.5 MB, free: 7.258 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.1239, allocations: 4 kB / 364.5 MB, free: 7.254 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.067e-05/0.124, allocations: 91.27 kB / 364.6 MB, free: 7.164 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.124, allocations: 4 kB / 364.6 MB, free: 7.16 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002517/0.1243, allocations: 16 kB / 364.6 MB, free: 7.145 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.0001093/0.1244, allocations: 95.25 kB / 364.7 MB, free: 7.039 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001356/0.1245, allocations: 67.92 kB / 364.8 MB, free: 6.973 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.1245, allocations: 4.375 kB / 364.8 MB, free: 6.969 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.208e-05/0.1246, allocations: 27.92 kB / 364.8 MB, free: 6.941 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003319/0.1249, allocations: 15.75 kB / 364.8 MB, free: 6.93 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005481/0.1255, allocations: 355 kB / 365.2 MB, free: 6.539 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002397/0.1257, allocations: 0.6963 MB / 365.9 MB, free: 5.816 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.276e-05/0.1258, allocations: 4.438 kB / 365.9 MB, free: 5.812 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.762e-05/0.1258, allocations: 15.44 kB / 365.9 MB, free: 5.797 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1258, allocations: 0 / 365.9 MB, free: 5.797 MB / 302.1 MB Notification: Performance of Templates: time 0.002826/0.1286, allocations: 0.6549 MB / 366.5 MB, free: 5.145 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.makefile (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 cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches