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.001333/0.001334, allocations: 103.2 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001319/0.001319, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.259/1.259, allocations: 227.4 MB / 246.3 MB, free: 9.055 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001131/0.001131, allocations: 61.34 kB / 306.4 MB, free: 0.7461 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08706/0.08821, allocations: 50.53 MB / 356.9 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.003112/0.09136, allocations: 1.714 MB / 358.6 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002561/0.09164, allocations: 71.7 kB / 358.7 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.481e-05/0.09178, allocations: 0 / 358.7 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001049/0.0919, allocations: 7.922 kB / 358.7 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.868e-05/0.09195, allocations: 11.92 kB / 358.7 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001299/0.09209, allocations: 15.98 kB / 358.7 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.0922, allocations: 63.67 kB / 358.8 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.09231, allocations: 23.97 kB / 358.8 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.566e-05/0.09235, allocations: 19.94 kB / 358.8 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.555e-05/0.09241, allocations: 27.84 kB / 358.8 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.881e-05/0.09244, allocations: 4 kB / 358.8 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.668e-05/0.09246, allocations: 4 kB / 358.8 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.766e-05/0.09248, allocations: 7.984 kB / 358.9 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.021e-05/0.09253, allocations: 27.88 kB / 358.9 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.976e-05/0.09263, allocations: 68 kB / 358.9 MB, free: 12.14 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.09264, allocations: 3.938 kB / 358.9 MB, free: 12.13 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.91e-07/0.09265, allocations: 4 kB / 359 MB, free: 12.13 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.09266, allocations: 0 / 359 MB, free: 12.13 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.0004417/0.09311, allocations: 355.4 kB / 359.3 MB, free: 11.73 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.09316, allocations: 16.02 kB / 359.3 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.573e-05/0.0932, allocations: 34.75 kB / 359.3 MB, free: 11.67 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.086e-05/0.09324, allocations: 8.844 kB / 359.4 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001604/0.0934, allocations: 180.3 kB / 359.5 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.09342, allocations: 4.375 kB / 359.5 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.259e-05/0.09345, allocations: 12.38 kB / 359.5 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.0936, allocations: 70.17 kB / 359.6 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.09362, allocations: 11.84 kB / 359.6 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.228e-06/0.09363, allocations: 3.938 kB / 359.6 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.09364, allocations: 0 / 359.6 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.975e-05/0.09373, allocations: 39.97 kB / 359.7 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006062/0.09434, allocations: 371.6 kB / 360 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.09445, allocations: 62.5 kB / 360.1 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.869e-05/0.0945, allocations: 24.8 kB / 360.1 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.516e-06/0.09452, allocations: 0 / 360.1 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.09454, allocations: 34.56 kB / 360.2 MB, free: 10.74 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.09455, allocations: 0 / 360.2 MB, free: 10.74 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008124/0.09537, allocations: 0.5098 MB / 360.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/0.09542, allocations: 51.41 kB / 360.7 MB, free: 10.08 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.909e-05/0.09553, allocations: 125.7 kB / 360.8 MB, free: 9.945 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.301e-05/0.09555, allocations: 25.7 kB / 360.9 MB, free: 9.914 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.172e-05/0.09561, allocations: 96.03 kB / 361 MB, free: 9.816 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.59e-05/0.09564, allocations: 39.45 kB / 361 MB, free: 9.777 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.005e-05/0.09569, allocations: 21.72 kB / 361 MB, free: 9.75 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.801e-05/0.09579, allocations: 322.8 kB / 361.3 MB, free: 9.426 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.72e-05/0.09584, allocations: 20 kB / 361.4 MB, free: 9.406 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.878e-05/0.0959, allocations: 56.64 kB / 361.4 MB, free: 9.336 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001027/0.09601, allocations: 93.06 kB / 361.5 MB, free: 9.227 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.09602, allocations: 0 / 361.5 MB, free: 9.227 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001677/0.09619, allocations: 109.5 kB / 361.6 MB, free: 9.113 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.09621, allocations: 8 kB / 361.6 MB, free: 9.105 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.09622, allocations: 0 / 361.6 MB, free: 9.105 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.09624, allocations: 4 kB / 361.6 MB, free: 9.102 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.962e-05/0.09633, allocations: 23.92 kB / 361.6 MB, free: 9.078 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.09634, allocations: 8.031 kB / 361.6 MB, free: 9.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.941e-05/0.09639, allocations: 4 kB / 361.7 MB, free: 9.066 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.0964, allocations: 8.469 kB / 361.7 MB, free: 9.059 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 7.099e-05/0.09648, allocations: 126.8 kB / 361.8 MB, free: 8.926 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.772e-05/0.09651, allocations: 4 kB / 361.8 MB, free: 8.922 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.79e-05/0.09654, allocations: 16.36 kB / 361.8 MB, free: 8.906 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.09655, allocations: 0 / 361.8 MB, free: 8.906 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.09656, allocations: 7.875 kB / 361.8 MB, free: 8.898 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.09657, allocations: 0 / 361.8 MB, free: 8.898 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000418/0.09699, allocations: 418.5 kB / 362.2 MB, free: 8.418 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.097, allocations: 0 / 362.2 MB, free: 8.418 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.687e-05/0.0971, allocations: 19.94 kB / 362.2 MB, free: 8.398 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.251e-06/0.09711, allocations: 7.984 kB / 362.2 MB, free: 8.391 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.09713, allocations: 160 / 362.2 MB, free: 8.391 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.09714, allocations: 8 kB / 362.3 MB, free: 8.383 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.09714, allocations: 0 / 362.3 MB, free: 8.383 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002186/0.09736, allocations: 235.6 kB / 362.5 MB, free: 8.121 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.239e-05/0.09742, allocations: 85.05 kB / 362.6 MB, free: 8.02 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/0.09744, allocations: 0 / 362.6 MB, free: 8.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.815e-05/0.09751, allocations: 4 kB / 362.6 MB, free: 8.016 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.414e-05/0.09754, allocations: 15.92 kB / 362.6 MB, free: 8 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.09755, allocations: 4 kB / 362.6 MB, free: 7.996 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.755e-05/0.0976, allocations: 91.27 kB / 362.7 MB, free: 7.906 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09761, allocations: 0 / 362.7 MB, free: 7.906 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002453/0.09786, allocations: 16 kB / 362.7 MB, free: 7.891 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.0004196/0.09829, allocations: 0.7676 MB / 363.5 MB, free: 7.078 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001244/0.09842, allocations: 64.31 kB / 363.5 MB, free: 7.016 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.09843, allocations: 0 / 363.5 MB, free: 7.016 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.523e-05/0.09847, allocations: 27.92 kB / 363.6 MB, free: 6.988 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003348/0.09881, allocations: 16.09 kB / 363.6 MB, free: 6.973 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001611/0.1004, allocations: 1.688 MB / 365.3 MB, free: 5.141 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002388/0.1007, allocations: 0.6887 MB / 365.9 MB, free: 4.426 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.085e-05/0.1007, allocations: 8.422 kB / 366 MB, free: 4.418 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.836e-05/0.1008, allocations: 27.44 kB / 366 MB, free: 4.391 MB / 302.1 MB Notification: Performance of SimCode: time 4.6e-07/0.1008, allocations: 3.938 kB / 366 MB, free: 4.387 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2458/0.3466, allocations: 1.721 MB / 367.7 MB, free: 2.762 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001992/0.3468, allocations: 206.1 kB / 367.9 MB, free: 2.5 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.182/2.529, allocations: 4 kB / 367.9 MB, free: 2.496 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