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.001417/0.001417, allocations: 102.9 kB / 17.58 MB, free: 5.418 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.001601/0.001601, allocations: 191.9 kB / 18.51 MB, free: 4.504 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.225/1.225, allocations: 205.1 MB / 224.4 MB, free: 12.3 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.001272/0.001272, allocations: 56.12 kB / 280.8 MB, free: 3.078 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.082/0.08328, allocations: 46.62 MB / 327.4 MB, free: 4.383 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002905/0.08623, allocations: 1.617 MB / 329 MB, free: 2.742 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002495/0.0865, allocations: 75.77 kB / 329.1 MB, free: 2.668 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.715e-05/0.08658, allocations: 0 / 329.1 MB, free: 2.668 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 9.486e-05/0.0867, allocations: 15.86 kB / 329.1 MB, free: 2.652 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 4.709e-05/0.08676, allocations: 11.86 kB / 329.1 MB, free: 2.641 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00011/0.08688, allocations: 23.92 kB / 329.1 MB, free: 2.617 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.08699, allocations: 63.73 kB / 329.2 MB, free: 2.555 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.08711, allocations: 20.25 kB / 329.2 MB, free: 2.535 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.079e-05/0.08716, allocations: 27.92 kB / 329.2 MB, free: 2.508 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.792e-05/0.08722, allocations: 27.84 kB / 329.3 MB, free: 2.48 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.846e-05/0.08724, allocations: 4 kB / 329.3 MB, free: 2.477 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.643e-05/0.08726, allocations: 4 kB / 329.3 MB, free: 2.473 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.093e-05/0.08729, allocations: 15.94 kB / 329.3 MB, free: 2.457 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 3.639e-05/0.08733, allocations: 31.86 kB / 329.3 MB, free: 2.426 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001157/0.08745, allocations: 67.72 kB / 329.4 MB, free: 2.359 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.08747, allocations: 0 / 329.4 MB, free: 2.359 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.08747, allocations: 0 / 329.4 MB, free: 2.359 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.08748, allocations: 0 / 329.4 MB, free: 2.359 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.0004313/0.08792, allocations: 355.4 kB / 329.7 MB, free: 1.961 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.08796, allocations: 15.97 kB / 329.7 MB, free: 1.945 MB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.967e-05/0.08801, allocations: 34.75 kB / 329.8 MB, free: 1.902 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.992e-05/0.08804, allocations: 8.844 kB / 329.8 MB, free: 1.895 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000156/0.08821, allocations: 188.2 kB / 330 MB, free: 1.672 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.08822, allocations: 4.375 kB / 330 MB, free: 1.668 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.244e-05/0.08825, allocations: 8.359 kB / 330 MB, free: 1.66 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.08839, allocations: 67.09 kB / 330 MB, free: 1.59 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.08842, allocations: 7.922 kB / 330.1 MB, free: 1.582 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.08843, allocations: 4 kB / 330.1 MB, free: 1.578 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.08844, allocations: 3.938 kB / 330.1 MB, free: 1.574 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.693e-05/0.08853, allocations: 39.92 kB / 330.1 MB, free: 1.535 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005733/0.08911, allocations: 375.6 kB / 330.5 MB, free: 1.109 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.872e-05/0.08922, allocations: 58.5 kB / 330.5 MB, free: 1.043 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.557e-05/0.08926, allocations: 20.84 kB / 330.5 MB, free: 1.02 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.854e-06/0.08927, allocations: 0 / 330.5 MB, free: 1.02 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.819e-05/0.0893, allocations: 34.56 kB / 330.6 MB, free: 0.9766 MB / 270.1 MB Notification: Performance of pre-optimization done (n=7): time 9.31e-07/0.0893, allocations: 4 kB / 330.6 MB, free: 0.9727 MB / 270.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006999/0.09001, allocations: 0.5091 MB / 331.1 MB, free: 380 kB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.873e-05/0.09005, allocations: 51.41 kB / 331.1 MB, free: 316 kB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.548e-05/0.09014, allocations: 129.8 kB / 331.3 MB, free: 176 kB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.09016, allocations: 29.64 kB / 331.3 MB, free: 140 kB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.488e-05/0.09021, allocations: 99.98 kB / 331.4 MB, free: 36 kB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.171e-05/0.09024, allocations: 31.55 kB / 331.4 MB, free: 4 kB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.442e-05/0.0903, allocations: 25.77 kB / 331.5 MB, free: 15.97 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 8.825e-05/0.09039, allocations: 318.8 kB / 331.8 MB, free: 15.65 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.602e-05/0.09044, allocations: 19.94 kB / 331.8 MB, free: 15.63 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.472e-05/0.0905, allocations: 57.14 kB / 331.8 MB, free: 15.56 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.813e-05/0.0906, allocations: 93.06 kB / 331.9 MB, free: 15.45 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.09061, allocations: 0 / 331.9 MB, free: 15.45 MB / 286.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001462/0.09076, allocations: 109.5 kB / 332 MB, free: 15.34 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.09078, allocations: 4 kB / 332 MB, free: 15.33 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.09079, allocations: 8.094 kB / 332 MB, free: 15.32 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.09081, allocations: 3.984 kB / 332.1 MB, free: 15.32 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.17e-05/0.0909, allocations: 23.94 kB / 332.1 MB, free: 15.3 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.09091, allocations: 7.938 kB / 332.1 MB, free: 15.29 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.873e-05/0.09096, allocations: 0 / 332.1 MB, free: 15.29 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-06/0.09097, allocations: 7.984 kB / 332.1 MB, free: 15.28 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.205e-05/0.09105, allocations: 117.8 kB / 332.2 MB, free: 15.16 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.767e-05/0.09108, allocations: 7.906 kB / 332.2 MB, free: 15.15 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.795e-05/0.09112, allocations: 8.375 kB / 332.2 MB, free: 15.14 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.09113, allocations: 8 kB / 332.2 MB, free: 15.13 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.09114, allocations: 7.938 kB / 332.2 MB, free: 15.12 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.09115, allocations: 0 / 332.2 MB, free: 15.12 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004202/0.09157, allocations: 410.5 kB / 332.6 MB, free: 14.65 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.09158, allocations: 4.156 kB / 332.6 MB, free: 14.65 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.812e-05/0.09168, allocations: 19.98 kB / 332.7 MB, free: 14.63 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.09169, allocations: 0 / 332.7 MB, free: 14.63 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.0917, allocations: 4 kB / 332.7 MB, free: 14.62 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.562e-06/0.09172, allocations: 7.938 kB / 332.7 MB, free: 14.62 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.09172, allocations: 0 / 332.7 MB, free: 14.62 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002216/0.09195, allocations: 239.9 kB / 332.9 MB, free: 14.35 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.955e-05/0.092, allocations: 85.11 kB / 333 MB, free: 14.25 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.09202, allocations: 0 / 333 MB, free: 14.25 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.853e-05/0.09209, allocations: 4 kB / 333 MB, free: 14.25 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.305e-05/0.09212, allocations: 15.92 kB / 333 MB, free: 14.23 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.09213, allocations: 4.062 kB / 333 MB, free: 14.23 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.66e-05/0.09218, allocations: 99.2 kB / 333.1 MB, free: 14.13 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.09219, allocations: 0 / 333.1 MB, free: 14.13 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002488/0.09244, allocations: 16 kB / 333.1 MB, free: 14.11 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.0004368/0.09289, allocations: 0.7595 MB / 333.9 MB, free: 13.31 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001333/0.09303, allocations: 64.12 kB / 333.9 MB, free: 13.25 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.09304, allocations: 0 / 333.9 MB, free: 13.25 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 4.166e-05/0.09309, allocations: 28.5 kB / 334 MB, free: 13.22 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003592/0.09345, allocations: 17.25 kB / 334 MB, free: 13.2 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001612/0.09507, allocations: 1.654 MB / 335.6 MB, free: 11.41 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002702/0.09536, allocations: 0.6968 MB / 336.3 MB, free: 10.69 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.151e-05/0.09541, allocations: 12.42 kB / 336.4 MB, free: 10.68 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.58e-05/0.09546, allocations: 19.44 kB / 336.4 MB, free: 10.66 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.09547, allocations: 3.938 kB / 336.4 MB, free: 10.65 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04579/0.1413, allocations: 1.866 MB / 338.2 MB, free: 8.734 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.272/9.413, allocations: 7.609 kB / 338.3 MB, free: 8.727 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches