Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_4_0_0_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.001538/0.001538, allocations: 115.1 kB / 16.63 MB, free: 6.812 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.001737/0.001737, allocations: 186 kB / 17.55 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.277/1.277, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001037/0.001038, allocations: 51.47 kB / 300.2 MB, free: 6.105 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08702/0.08807, allocations: 49.45 MB / 349.7 MB, free: 4.648 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002986/0.09108, allocations: 1.686 MB / 351.4 MB, free: 2.945 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002522/0.09136, allocations: 67.78 kB / 351.4 MB, free: 2.879 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.345e-05/0.09145, allocations: 4 kB / 351.4 MB, free: 2.875 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.119e-05/0.09156, allocations: 3.938 kB / 351.4 MB, free: 2.871 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.07e-05/0.09162, allocations: 15.84 kB / 351.5 MB, free: 2.855 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001295/0.09175, allocations: 15.98 kB / 351.5 MB, free: 2.84 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001124/0.09187, allocations: 71.66 kB / 351.5 MB, free: 2.77 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.09198, allocations: 16 kB / 351.6 MB, free: 2.754 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.727e-05/0.09203, allocations: 27.92 kB / 351.6 MB, free: 2.727 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.65e-05/0.09209, allocations: 19.92 kB / 351.6 MB, free: 2.707 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.09211, allocations: 4 kB / 351.6 MB, free: 2.703 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.442e-05/0.09213, allocations: 11.94 kB / 351.6 MB, free: 2.691 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.953e-05/0.09216, allocations: 15.97 kB / 351.6 MB, free: 2.676 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.305e-05/0.0922, allocations: 27.88 kB / 351.7 MB, free: 2.648 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001009/0.09231, allocations: 64.02 kB / 351.7 MB, free: 2.586 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.09232, allocations: 0 / 351.7 MB, free: 2.586 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.09233, allocations: 0 / 351.7 MB, free: 2.586 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.461e-06/0.09234, allocations: 0 / 351.7 MB, free: 2.586 MB / 286.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.0004286/0.09277, allocations: 367.3 kB / 352.1 MB, free: 2.176 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.09282, allocations: 8.031 kB / 352.1 MB, free: 2.168 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.67e-05/0.09286, allocations: 42.73 kB / 352.1 MB, free: 2.117 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.872e-05/0.09289, allocations: 8.844 kB / 352.1 MB, free: 2.109 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.09305, allocations: 184.2 kB / 352.3 MB, free: 1.891 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-06/0.09307, allocations: 8.375 kB / 352.3 MB, free: 1.883 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.333e-05/0.0931, allocations: 8.312 kB / 352.3 MB, free: 1.875 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001337/0.09324, allocations: 73.33 kB / 352.4 MB, free: 1.801 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.09326, allocations: 7.938 kB / 352.4 MB, free: 1.793 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.09327, allocations: 0 / 352.4 MB, free: 1.793 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.09328, allocations: 0 / 352.4 MB, free: 1.793 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.547e-05/0.09337, allocations: 39.97 kB / 352.5 MB, free: 1.754 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005917/0.09397, allocations: 379.4 kB / 352.8 MB, free: 1.328 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.687e-05/0.09408, allocations: 58.56 kB / 352.9 MB, free: 1.262 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.295e-05/0.09412, allocations: 28.78 kB / 352.9 MB, free: 1.23 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.776e-06/0.09413, allocations: 0 / 352.9 MB, free: 1.23 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/0.09416, allocations: 38.56 kB / 353 MB, free: 1.184 MB / 286.1 MB Notification: Performance of pre-optimization done (n=7): time 1.392e-06/0.09417, allocations: 0 / 353 MB, free: 1.184 MB / 286.1 MB Notification: Performance of matching and sorting (n=9): time 0.000691/0.09486, allocations: 0.5091 MB / 353.5 MB, free: 0.582 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.085e-05/0.0949, allocations: 55.41 kB / 353.5 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.445e-05/0.095, allocations: 117.8 kB / 353.6 MB, free: 400 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.09502, allocations: 25.7 kB / 353.7 MB, free: 368 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.673e-05/0.09508, allocations: 92.05 kB / 353.7 MB, free: 272 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.731e-05/0.09511, allocations: 35.53 kB / 353.8 MB, free: 236 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.237e-05/0.09516, allocations: 33.61 kB / 353.8 MB, free: 196 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.981e-05/0.09526, allocations: 314.8 kB / 354.1 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.686e-05/0.09531, allocations: 23.98 kB / 354.1 MB, free: 15.85 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.625e-05/0.09538, allocations: 62.02 kB / 354.2 MB, free: 15.77 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.428e-05/0.09548, allocations: 85.03 kB / 354.3 MB, free: 15.67 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-06/0.09549, allocations: 480 / 354.3 MB, free: 15.67 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001504/0.09565, allocations: 109.5 kB / 354.4 MB, free: 15.56 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.09567, allocations: 8 kB / 354.4 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.09568, allocations: 0 / 354.4 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.09569, allocations: 4 kB / 354.4 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.107e-05/0.09578, allocations: 23.92 kB / 354.4 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.0958, allocations: 11.88 kB / 354.4 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.057e-05/0.09584, allocations: 0 / 354.4 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-06/0.09586, allocations: 8.094 kB / 354.4 MB, free: 15.5 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.188e-05/0.09595, allocations: 121.8 kB / 354.6 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.614e-05/0.09598, allocations: 7.906 kB / 354.6 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.074e-05/0.09601, allocations: 12.38 kB / 354.6 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.09602, allocations: 0 / 354.6 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.09603, allocations: 3.938 kB / 354.6 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.09604, allocations: 3.984 kB / 354.6 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000439/0.09648, allocations: 414.7 kB / 355 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.0965, allocations: 0 / 355 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.294e-05/0.0966, allocations: 19.98 kB / 355 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.09661, allocations: 7.938 kB / 355 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.09662, allocations: 0 / 355 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.09663, allocations: 4 kB / 355 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.09664, allocations: 4.094 kB / 355 MB, free: 14.83 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001982/0.09684, allocations: 231.6 kB / 355.3 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.041e-05/0.09689, allocations: 93.03 kB / 355.4 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.09692, allocations: 8.062 kB / 355.4 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.932e-05/0.09699, allocations: 0 / 355.4 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.265e-05/0.09702, allocations: 8 kB / 355.4 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.812e-06/0.09703, allocations: 8 kB / 355.4 MB, free: 14.44 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.561e-05/0.09708, allocations: 91.27 kB / 355.5 MB, free: 14.35 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09709, allocations: 0 / 355.5 MB, free: 14.35 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000257/0.09735, allocations: 20 kB / 355.5 MB, free: 14.33 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.000443/0.0978, allocations: 0.7753 MB / 356.3 MB, free: 13.52 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001358/0.09794, allocations: 63.92 kB / 356.3 MB, free: 13.45 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.09795, allocations: 0 / 356.3 MB, free: 13.45 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.635e-05/0.09799, allocations: 27.92 kB / 356.3 MB, free: 13.43 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003453/0.09835, allocations: 18.03 kB / 356.4 MB, free: 13.41 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001448/0.0998, allocations: 1.693 MB / 358.1 MB, free: 11.58 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002093/0.1, allocations: 0.6924 MB / 358.8 MB, free: 10.86 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.774e-05/0.1001, allocations: 4.438 kB / 358.8 MB, free: 10.86 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.535e-05/0.1001, allocations: 23.42 kB / 358.8 MB, free: 10.83 MB / 302.1 MB Notification: Performance of SimCode: time 2.444e-06/0.1001, allocations: 0 / 358.8 MB, free: 10.83 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1582/0.2583, allocations: 1.779 MB / 360.6 MB, free: 9.172 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002282/0.2586, allocations: 202.6 kB / 360.8 MB, free: 8.918 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.088/2.347, allocations: 0 / 360.8 MB, free: 8.918 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Accelerate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Accelerate.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches