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: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009036/0.0009037, allocations: 97.42 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009698/0.0009702, allocations: 210.5 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.264/1.264, allocations: 227.7 MB / 246.8 MB, free: 9.648 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002016/0.0002017, allocations: 8 kB / 307.8 MB, free: 500 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08395/0.0842, allocations: 51.52 MB / 359.4 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.001721/0.08595, allocations: 1.363 MB / 360.7 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002467/0.08622, allocations: 75.77 kB / 360.8 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.253e-05/0.08637, allocations: 0 / 360.8 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 7.526e-05/0.08645, allocations: 7.922 kB / 360.8 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.488e-05/0.0865, allocations: 15.86 kB / 360.8 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001105/0.08662, allocations: 11.98 kB / 360.8 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001009/0.08673, allocations: 59.73 kB / 360.9 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.385e-05/0.08683, allocations: 23.97 kB / 360.9 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.364e-05/0.08687, allocations: 23.88 kB / 360.9 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.714e-05/0.08693, allocations: 27.84 kB / 361 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.512e-05/0.08695, allocations: 0 / 361 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.277e-05/0.08697, allocations: 4 kB / 361 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.611e-05/0.08699, allocations: 7.984 kB / 361 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.977e-05/0.08705, allocations: 53.58 kB / 361 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.03e-05/0.08714, allocations: 63.98 kB / 361.1 MB, free: 11.22 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.08715, allocations: 0 / 361.1 MB, free: 11.22 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.08716, allocations: 0 / 361.1 MB, free: 11.22 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.08717, allocations: 4 kB / 361.1 MB, free: 11.22 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.0003628/0.08754, allocations: 351.4 kB / 361.4 MB, free: 10.82 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.08759, allocations: 8.031 kB / 361.4 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.647e-05/0.08763, allocations: 38.75 kB / 361.5 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.59e-05/0.08766, allocations: 8.844 kB / 361.5 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.08781, allocations: 180.2 kB / 361.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.08783, allocations: 8.375 kB / 361.7 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.116e-05/0.08786, allocations: 4.375 kB / 361.7 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.08803, allocations: 74.22 kB / 361.8 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.428e-05/0.0881, allocations: 15.86 kB / 361.8 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.099e-05/0.08814, allocations: 0 / 361.8 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.08815, allocations: 3.938 kB / 361.8 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.508e-05/0.08823, allocations: 35.98 kB / 361.8 MB, free: 10.4 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005697/0.08881, allocations: 383.5 kB / 362.2 MB, free: 9.969 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.955e-05/0.08891, allocations: 58.56 kB / 362.2 MB, free: 9.902 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.056e-05/0.08896, allocations: 20.86 kB / 362.3 MB, free: 9.879 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.034e-06/0.08897, allocations: 0 / 362.3 MB, free: 9.879 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/0.089, allocations: 38.5 kB / 362.3 MB, free: 9.832 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.08901, allocations: 0 / 362.3 MB, free: 9.832 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006545/0.08966, allocations: 0.5135 MB / 362.8 MB, free: 9.227 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/0.08971, allocations: 55.41 kB / 362.9 MB, free: 9.16 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.866e-05/0.08981, allocations: 121.8 kB / 363 MB, free: 9.031 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.812e-05/0.08986, allocations: 25.7 kB / 363 MB, free: 9 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.08999, allocations: 92.05 kB / 363.1 MB, free: 8.906 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.56e-05/0.09002, allocations: 35.55 kB / 363.1 MB, free: 8.871 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.488e-05/0.09005, allocations: 13.72 kB / 363.1 MB, free: 8.852 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.743e-05/0.09015, allocations: 322.8 kB / 363.5 MB, free: 8.527 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.355e-05/0.09019, allocations: 20 kB / 363.5 MB, free: 8.508 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.488e-05/0.09026, allocations: 53.14 kB / 363.5 MB, free: 8.438 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.542e-05/0.09036, allocations: 93.02 kB / 363.6 MB, free: 8.328 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.09037, allocations: 0 / 363.6 MB, free: 8.328 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001517/0.09052, allocations: 109.5 kB / 363.7 MB, free: 8.215 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.09054, allocations: 8.469 kB / 363.7 MB, free: 8.207 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.187e-06/0.09055, allocations: 0 / 363.7 MB, free: 8.207 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.09057, allocations: 4.141 kB / 363.7 MB, free: 8.203 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.87e-05/0.09066, allocations: 19.98 kB / 363.8 MB, free: 8.184 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.09067, allocations: 7.938 kB / 363.8 MB, free: 8.176 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.759e-05/0.09072, allocations: 8.031 kB / 363.8 MB, free: 8.168 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.09073, allocations: 11.98 kB / 363.8 MB, free: 8.156 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 8.347e-05/0.09082, allocations: 130.7 kB / 363.9 MB, free: 8.02 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.646e-05/0.09085, allocations: 7.906 kB / 363.9 MB, free: 8.012 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.773e-05/0.09088, allocations: 12.38 kB / 363.9 MB, free: 8 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.09089, allocations: 0 / 363.9 MB, free: 8 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.0909, allocations: 3.938 kB / 363.9 MB, free: 7.996 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.09091, allocations: 0 / 363.9 MB, free: 7.996 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004269/0.09134, allocations: 414.5 kB / 364.3 MB, free: 7.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.09135, allocations: 3.938 kB / 364.3 MB, free: 7.516 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.406e-05/0.09144, allocations: 19.98 kB / 364.4 MB, free: 7.496 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.09145, allocations: 4 kB / 364.4 MB, free: 7.492 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.09146, allocations: 0 / 364.4 MB, free: 7.492 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.09147, allocations: 4.156 kB / 364.4 MB, free: 7.488 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.09148, allocations: 4 kB / 364.4 MB, free: 7.484 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002784/0.09176, allocations: 235.5 kB / 364.6 MB, free: 7.223 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.947e-05/0.09185, allocations: 89.11 kB / 364.7 MB, free: 7.117 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.09187, allocations: 0 / 364.7 MB, free: 7.117 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.481e-05/0.09194, allocations: 8 kB / 364.7 MB, free: 7.109 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.658e-05/0.09196, allocations: 7.984 kB / 364.7 MB, free: 7.102 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.079e-06/0.09197, allocations: 4 kB / 364.7 MB, free: 7.098 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.222e-05/0.09202, allocations: 91.27 kB / 364.8 MB, free: 7.008 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.09203, allocations: 0 / 364.8 MB, free: 7.008 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002363/0.09227, allocations: 16 kB / 364.8 MB, free: 6.992 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.0004297/0.09271, allocations: 0.7755 MB / 365.6 MB, free: 6.172 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001156/0.09283, allocations: 55.92 kB / 365.7 MB, free: 6.117 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.09284, allocations: 0 / 365.7 MB, free: 6.117 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.851e-05/0.09288, allocations: 31.86 kB / 365.7 MB, free: 6.086 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003053/0.09319, allocations: 15.62 kB / 365.7 MB, free: 6.074 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001532/0.09474, allocations: 1.737 MB / 367.4 MB, free: 4.195 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002285/0.09498, allocations: 0.6887 MB / 368.1 MB, free: 3.48 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.241e-05/0.09502, allocations: 4.438 kB / 368.1 MB, free: 3.477 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.004e-05/0.09506, allocations: 27.42 kB / 368.2 MB, free: 3.449 MB / 302.1 MB Notification: Performance of SimCode: time 4.2e-07/0.09507, allocations: 4 kB / 368.2 MB, free: 3.445 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3284/0.4235, allocations: 1.656 MB / 369.8 MB, free: 1.918 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002208/0.4237, allocations: 204.8 kB / 370 MB, free: 1.66 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.796/2.22, allocations: 0 / 370 MB, free: 1.66 MB / 302.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Translational_Examples_Accelerate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Translational_Examples_Accelerate.fmu > 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