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.0008926/0.0008926, allocations: 94.14 kB / 17.3 MB, free: 6.391 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.0009108/0.0009109, allocations: 173.3 kB / 18.2 MB, free: 5.551 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.198/1.198, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0004423/0.0004423, allocations: 12 kB / 281.5 MB, free: 3.309 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0817/0.08216, allocations: 47.57 MB / 329.1 MB, free: 3.668 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.001771/0.08397, allocations: 1.339 MB / 330.4 MB, free: 2.312 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002295/0.08422, allocations: 79.7 kB / 330.5 MB, free: 2.234 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.76e-05/0.0843, allocations: 7.938 kB / 330.5 MB, free: 2.227 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 8.109e-05/0.08439, allocations: 7.984 kB / 330.5 MB, free: 2.219 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 4.572e-05/0.08444, allocations: 15.86 kB / 330.5 MB, free: 2.203 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001147/0.08456, allocations: 11.98 kB / 330.5 MB, free: 2.191 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001094/0.08468, allocations: 59.73 kB / 330.6 MB, free: 2.133 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.0848, allocations: 19.98 kB / 330.6 MB, free: 2.113 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.459e-05/0.08484, allocations: 15.94 kB / 330.6 MB, free: 2.098 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.461e-05/0.08491, allocations: 27.84 kB / 330.6 MB, free: 2.07 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.942e-05/0.08494, allocations: 4 kB / 330.6 MB, free: 2.066 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.658e-05/0.08496, allocations: 4 kB / 330.6 MB, free: 2.062 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.589e-05/0.08499, allocations: 11.92 kB / 330.7 MB, free: 2.051 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001228/0.08512, allocations: 49.58 kB / 330.7 MB, free: 1.996 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001042/0.08523, allocations: 63.98 kB / 330.8 MB, free: 1.934 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.08524, allocations: 0 / 330.8 MB, free: 1.934 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.08525, allocations: 0 / 330.8 MB, free: 1.934 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.08526, allocations: 0 / 330.8 MB, free: 1.934 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.0004467/0.08571, allocations: 351.4 kB / 331.1 MB, free: 1.539 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.08577, allocations: 12.03 kB / 331.1 MB, free: 1.527 MB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.524e-05/0.08582, allocations: 38.69 kB / 331.2 MB, free: 1.48 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.069e-05/0.08586, allocations: 8.844 kB / 331.2 MB, free: 1.473 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001906/0.08605, allocations: 188.2 kB / 331.3 MB, free: 1.25 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.133e-06/0.08607, allocations: 384 / 331.3 MB, free: 1.25 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.019e-05/0.0861, allocations: 12.38 kB / 331.4 MB, free: 1.238 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.08627, allocations: 73.59 kB / 331.4 MB, free: 1.164 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/0.0863, allocations: 11.94 kB / 331.4 MB, free: 1.152 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.08631, allocations: 0 / 331.4 MB, free: 1.152 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.08632, allocations: 0 / 331.4 MB, free: 1.152 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.137e-05/0.08641, allocations: 35.92 kB / 331.5 MB, free: 1.117 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006237/0.08704, allocations: 375.6 kB / 331.8 MB, free: 0.6914 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.976e-05/0.08715, allocations: 66.5 kB / 331.9 MB, free: 0.6172 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.199e-05/0.08719, allocations: 16.86 kB / 331.9 MB, free: 0.5977 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.923e-06/0.0872, allocations: 0 / 331.9 MB, free: 0.5977 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/0.08723, allocations: 42.48 kB / 332 MB, free: 0.5469 MB / 270.1 MB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.08724, allocations: 0 / 332 MB, free: 0.5469 MB / 270.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006771/0.08792, allocations: 0.5098 MB / 332.5 MB, free: 15.95 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.494e-05/0.08797, allocations: 55.41 kB / 332.5 MB, free: 15.88 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.831e-05/0.08806, allocations: 121.8 kB / 332.7 MB, free: 15.75 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/0.08809, allocations: 25.7 kB / 332.7 MB, free: 15.72 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.379e-05/0.08814, allocations: 99.89 kB / 332.8 MB, free: 15.62 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.748e-05/0.08818, allocations: 31.55 kB / 332.8 MB, free: 15.59 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.583e-05/0.08822, allocations: 21.66 kB / 332.8 MB, free: 15.56 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.08833, allocations: 318.8 kB / 333.1 MB, free: 15.24 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.422e-05/0.08837, allocations: 23.98 kB / 333.2 MB, free: 15.21 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.586e-05/0.08846, allocations: 57.09 kB / 333.2 MB, free: 15.14 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/0.08857, allocations: 89.08 kB / 333.3 MB, free: 15.04 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.08858, allocations: 0 / 333.3 MB, free: 15.04 MB / 286.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001459/0.08873, allocations: 105.5 kB / 333.4 MB, free: 14.93 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.08875, allocations: 8 kB / 333.4 MB, free: 14.92 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.08876, allocations: 3.984 kB / 333.4 MB, free: 14.91 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.08878, allocations: 144 / 333.4 MB, free: 14.91 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.271e-05/0.08887, allocations: 27.94 kB / 333.4 MB, free: 14.89 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/0.08888, allocations: 11.92 kB / 333.5 MB, free: 14.88 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.77e-05/0.08892, allocations: 3.984 kB / 333.5 MB, free: 14.87 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.834e-06/0.08894, allocations: 8.094 kB / 333.5 MB, free: 14.86 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 8.314e-05/0.08903, allocations: 117.8 kB / 333.6 MB, free: 14.74 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.756e-05/0.08906, allocations: 8.375 kB / 333.6 MB, free: 14.73 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.801e-05/0.0891, allocations: 8.375 kB / 333.6 MB, free: 14.72 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.0891, allocations: 4 kB / 333.6 MB, free: 14.72 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.08911, allocations: 3.938 kB / 333.6 MB, free: 14.71 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.08912, allocations: 0 / 333.6 MB, free: 14.71 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000439/0.08957, allocations: 414.5 kB / 334 MB, free: 14.24 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.08958, allocations: 0 / 334 MB, free: 14.24 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.817e-05/0.08967, allocations: 23.98 kB / 334 MB, free: 14.21 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.08969, allocations: 0 / 334 MB, free: 14.21 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.0897, allocations: 4 kB / 334 MB, free: 14.21 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.08971, allocations: 7.938 kB / 334 MB, free: 14.2 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.08972, allocations: 160 / 334.1 MB, free: 14.2 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002141/0.08994, allocations: 227.9 kB / 334.3 MB, free: 13.95 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.274e-05/0.08999, allocations: 89.02 kB / 334.4 MB, free: 13.84 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/0.09001, allocations: 8.047 kB / 334.4 MB, free: 13.84 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.539e-05/0.09008, allocations: 4 kB / 334.4 MB, free: 13.83 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.173e-05/0.09011, allocations: 8 kB / 334.4 MB, free: 13.82 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.09012, allocations: 4 kB / 334.4 MB, free: 13.82 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.632e-05/0.09018, allocations: 91.27 kB / 334.5 MB, free: 13.73 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09019, allocations: 3.938 kB / 334.5 MB, free: 13.73 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002421/0.09043, allocations: 16 kB / 334.5 MB, free: 13.71 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.0005091/0.09095, allocations: 0.7672 MB / 335.3 MB, free: 12.9 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001229/0.09108, allocations: 64.38 kB / 335.3 MB, free: 12.84 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.09109, allocations: 0 / 335.3 MB, free: 12.84 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 3.715e-05/0.09113, allocations: 23.94 kB / 335.3 MB, free: 12.81 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003862/0.09153, allocations: 19.92 kB / 335.4 MB, free: 12.79 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001655/0.09319, allocations: 1.739 MB / 337.1 MB, free: 10.91 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.0935, allocations: 0.6926 MB / 337.8 MB, free: 10.2 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.797e-05/0.09355, allocations: 8.422 kB / 337.8 MB, free: 10.19 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.306e-05/0.09361, allocations: 19.44 kB / 337.8 MB, free: 10.17 MB / 286.1 MB Notification: Performance of SimCode: time 3.11e-07/0.09361, allocations: 0 / 337.8 MB, free: 10.17 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1165/0.2101, allocations: 1.648 MB / 339.5 MB, free: 8.527 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002678/0.2104, allocations: 209.1 kB / 339.7 MB, free: 8.266 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.788/1.998, allocations: 3.938 kB / 339.7 MB, free: 8.262 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