Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009548/0.0009548, allocations: 113.4 kB / 17.28 MB, free: 6.219 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 185.3 kB / 18.2 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.203/1.203, allocations: 205.1 MB / 224.1 MB, free: 12.45 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001085/0.001085, allocations: 47.92 kB / 280.2 MB, free: 3.41 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08438/0.08548, allocations: 46.63 MB / 326.9 MB, free: 4.711 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.003066/0.08859, allocations: 1.678 MB / 328.6 MB, free: 3.012 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002316/0.08885, allocations: 79.66 kB / 328.6 MB, free: 2.934 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.429e-05/0.08893, allocations: 0 / 328.6 MB, free: 2.934 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001065/0.08905, allocations: 7.922 kB / 328.6 MB, free: 2.926 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 4.326e-05/0.0891, allocations: 11.92 kB / 328.7 MB, free: 2.914 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001134/0.08922, allocations: 15.98 kB / 328.7 MB, free: 2.898 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001048/0.08933, allocations: 63.73 kB / 328.7 MB, free: 2.836 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.08945, allocations: 28.25 kB / 328.8 MB, free: 2.809 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.218e-05/0.08948, allocations: 19.94 kB / 328.8 MB, free: 2.789 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.721e-05/0.08955, allocations: 23.86 kB / 328.8 MB, free: 2.766 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/0.08957, allocations: 8 kB / 328.8 MB, free: 2.758 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.508e-05/0.08959, allocations: 4 kB / 328.8 MB, free: 2.754 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.922e-05/0.08961, allocations: 15.92 kB / 328.8 MB, free: 2.738 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 3.813e-05/0.08966, allocations: 27.88 kB / 328.9 MB, free: 2.711 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 9.603e-05/0.08976, allocations: 63.72 kB / 328.9 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.08977, allocations: 7.938 kB / 328.9 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.08978, allocations: 3.938 kB / 328.9 MB, free: 2.637 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.568e-06/0.08979, allocations: 4 kB / 328.9 MB, free: 2.633 MB / 270.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.0004043/0.09019, allocations: 355.4 kB / 329.3 MB, free: 2.234 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.09024, allocations: 8.031 kB / 329.3 MB, free: 2.227 MB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.409e-05/0.09028, allocations: 42.73 kB / 329.3 MB, free: 2.176 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.557e-05/0.09031, allocations: 8.844 kB / 329.3 MB, free: 2.168 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.09046, allocations: 180.2 kB / 329.5 MB, free: 1.953 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.427e-06/0.09048, allocations: 12.38 kB / 329.5 MB, free: 1.941 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.588e-05/0.09051, allocations: 8.375 kB / 329.5 MB, free: 1.934 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/0.09067, allocations: 74.17 kB / 329.6 MB, free: 1.855 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.09069, allocations: 3.938 kB / 329.6 MB, free: 1.852 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.0907, allocations: 0 / 329.6 MB, free: 1.852 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.09071, allocations: 4 kB / 329.6 MB, free: 1.848 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.203e-05/0.0908, allocations: 39.91 kB / 329.7 MB, free: 1.809 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005973/0.0914, allocations: 371.6 kB / 330 MB, free: 1.387 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.84e-05/0.09152, allocations: 62.5 kB / 330.1 MB, free: 1.316 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.38e-05/0.09156, allocations: 20.84 kB / 330.1 MB, free: 1.293 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.677e-06/0.09157, allocations: 4 kB / 330.1 MB, free: 1.289 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.0916, allocations: 30.56 kB / 330.1 MB, free: 1.25 MB / 270.1 MB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.0916, allocations: 0 / 330.1 MB, free: 1.25 MB / 270.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007015/0.09231, allocations: 0.513 MB / 330.6 MB, free: 0.6445 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.184e-05/0.09235, allocations: 51.41 kB / 330.7 MB, free: 0.582 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.12e-05/0.09244, allocations: 122.1 kB / 330.8 MB, free: 464 kB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.09246, allocations: 29.7 kB / 330.8 MB, free: 428 kB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.002e-05/0.09252, allocations: 99.91 kB / 330.9 MB, free: 324 kB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.451e-05/0.09255, allocations: 31.56 kB / 331 MB, free: 292 kB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.61e-05/0.09259, allocations: 29.8 kB / 331 MB, free: 256 kB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.09272, allocations: 322.8 kB / 331.3 MB, free: 15.93 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.437e-05/0.09276, allocations: 19.98 kB / 331.3 MB, free: 15.91 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.596e-05/0.09282, allocations: 57.14 kB / 331.4 MB, free: 15.83 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001065/0.09293, allocations: 93.06 kB / 331.5 MB, free: 15.72 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.09294, allocations: 0 / 331.5 MB, free: 15.72 MB / 286.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001432/0.09308, allocations: 109.5 kB / 331.6 MB, free: 15.61 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.0931, allocations: 4 kB / 331.6 MB, free: 15.61 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.09311, allocations: 0 / 331.6 MB, free: 15.61 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.09313, allocations: 4 kB / 331.6 MB, free: 15.6 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.008e-05/0.09322, allocations: 32.02 kB / 331.6 MB, free: 15.57 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.994e-06/0.09323, allocations: 3.938 kB / 331.6 MB, free: 15.57 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.963e-05/0.09327, allocations: 4 kB / 331.6 MB, free: 15.56 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.076e-06/0.09329, allocations: 8 kB / 331.6 MB, free: 15.55 MB / 286.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.355e-05/0.09337, allocations: 117.8 kB / 331.8 MB, free: 15.43 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.71e-05/0.0934, allocations: 7.906 kB / 331.8 MB, free: 15.42 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.123e-05/0.09343, allocations: 12.36 kB / 331.8 MB, free: 15.41 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.09344, allocations: 0 / 331.8 MB, free: 15.41 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.09345, allocations: 3.938 kB / 331.8 MB, free: 15.41 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.09346, allocations: 8 kB / 331.8 MB, free: 15.4 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004255/0.09389, allocations: 406.6 kB / 332.2 MB, free: 14.93 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.09391, allocations: 4 kB / 332.2 MB, free: 14.93 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.354e-05/0.094, allocations: 15.94 kB / 332.2 MB, free: 14.91 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.09401, allocations: 8.156 kB / 332.2 MB, free: 14.9 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.09402, allocations: 4 kB / 332.2 MB, free: 14.9 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.09403, allocations: 3.984 kB / 332.2 MB, free: 14.89 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.768e-06/0.09404, allocations: 8 kB / 332.2 MB, free: 14.89 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000205/0.09425, allocations: 231.6 kB / 332.5 MB, free: 14.63 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.559e-05/0.09429, allocations: 81.33 kB / 332.5 MB, free: 14.53 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.37e-05/0.09432, allocations: 4 kB / 332.5 MB, free: 14.53 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.582e-05/0.09439, allocations: 0 / 332.5 MB, free: 14.53 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.667e-05/0.09442, allocations: 19.91 kB / 332.6 MB, free: 14.51 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.09443, allocations: 7.938 kB / 332.6 MB, free: 14.5 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.635e-05/0.09449, allocations: 91.31 kB / 332.7 MB, free: 14.41 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09449, allocations: 4.062 kB / 332.7 MB, free: 14.41 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002485/0.09475, allocations: 20 kB / 332.7 MB, free: 14.39 MB / 286.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.0004376/0.09519, allocations: 0.7595 MB / 333.4 MB, free: 13.58 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001412/0.09534, allocations: 63.86 kB / 333.5 MB, free: 13.52 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.09535, allocations: 0 / 333.5 MB, free: 13.52 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 3.691e-05/0.09539, allocations: 27.92 kB / 333.5 MB, free: 13.49 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003671/0.09577, allocations: 16.56 kB / 333.5 MB, free: 13.48 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001451/0.09723, allocations: 1.681 MB / 335.2 MB, free: 11.66 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002295/0.09747, allocations: 0.6924 MB / 335.9 MB, free: 10.94 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.673e-05/0.09751, allocations: 16.41 kB / 335.9 MB, free: 10.92 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.112e-05/0.09756, allocations: 23.44 kB / 336 MB, free: 10.9 MB / 286.1 MB Notification: Performance of SimCode: time 3.7e-07/0.09756, allocations: 0 / 336 MB, free: 10.9 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1132/0.2108, allocations: 1.788 MB / 337.7 MB, free: 9.105 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003602/0.2112, allocations: 201.8 kB / 337.9 MB, free: 8.852 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.034/2.246, allocations: 0 / 337.9 MB, free: 8.852 MB / 286.1 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Accelerate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Accelerate.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Accelerate/Accelerate.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches