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.001066/0.001066, allocations: 108.2 kB / 16.92 MB, free: 6.145 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.001119/0.001119, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.29/1.29, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001071/0.001071, allocations: 46.89 kB / 300.7 MB, free: 5.777 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08607/0.08716, allocations: 49.44 MB / 350.2 MB, free: 4.328 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002903/0.0901, allocations: 1.62 MB / 351.8 MB, free: 2.688 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002092/0.09034, allocations: 75.7 kB / 351.9 MB, free: 2.613 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.702e-05/0.0904, allocations: 0 / 351.9 MB, free: 2.613 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.486e-05/0.09052, allocations: 19.86 kB / 351.9 MB, free: 2.594 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 4.247e-05/0.09057, allocations: 11.86 kB / 351.9 MB, free: 2.582 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001072/0.09069, allocations: 15.98 kB / 351.9 MB, free: 2.566 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001064/0.0908, allocations: 71.66 kB / 352 MB, free: 2.496 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.09091, allocations: 15.98 kB / 352 MB, free: 2.48 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.421e-05/0.09096, allocations: 31.86 kB / 352 MB, free: 2.449 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.242e-05/0.09101, allocations: 19.92 kB / 352 MB, free: 2.43 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.09104, allocations: 8 kB / 352 MB, free: 2.422 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.477e-05/0.09106, allocations: 7.938 kB / 352 MB, free: 2.414 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.91e-05/0.09108, allocations: 12 kB / 352.1 MB, free: 2.402 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.617e-05/0.09112, allocations: 27.86 kB / 352.1 MB, free: 2.375 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.731e-05/0.09122, allocations: 72 kB / 352.2 MB, free: 2.305 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.09123, allocations: 0 / 352.2 MB, free: 2.305 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.09124, allocations: 0 / 352.2 MB, free: 2.305 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.09125, allocations: 0 / 352.2 MB, free: 2.305 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.0004331/0.09169, allocations: 362.4 kB / 352.5 MB, free: 1.902 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.09173, allocations: 16.03 kB / 352.5 MB, free: 1.887 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.515e-05/0.09177, allocations: 38.75 kB / 352.6 MB, free: 1.84 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.872e-05/0.0918, allocations: 12.83 kB / 352.6 MB, free: 1.828 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001701/0.09198, allocations: 184.2 kB / 352.8 MB, free: 1.609 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-06/0.092, allocations: 4.375 kB / 352.8 MB, free: 1.605 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.371e-05/0.09202, allocations: 4.375 kB / 352.8 MB, free: 1.602 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.09218, allocations: 73.61 kB / 352.8 MB, free: 1.527 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.0922, allocations: 3.938 kB / 352.8 MB, free: 1.523 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.09222, allocations: 4 kB / 352.8 MB, free: 1.52 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.09223, allocations: 0 / 352.8 MB, free: 1.52 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.462e-05/0.09232, allocations: 43.92 kB / 352.9 MB, free: 1.477 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006523/0.09298, allocations: 381 kB / 353.3 MB, free: 1.051 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.855e-05/0.09309, allocations: 54.56 kB / 353.3 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.925e-05/0.09314, allocations: 28.78 kB / 353.3 MB, free: 0.957 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.448e-06/0.09315, allocations: 0 / 353.3 MB, free: 0.957 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.09318, allocations: 38.55 kB / 353.4 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.09319, allocations: 0 / 353.4 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007988/0.09399, allocations: 0.5052 MB / 353.9 MB, free: 320 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/0.09404, allocations: 55.39 kB / 353.9 MB, free: 252 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.09416, allocations: 129.8 kB / 354.1 MB, free: 112 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.09418, allocations: 25.7 kB / 354.1 MB, free: 80 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.362e-05/0.09426, allocations: 92.05 kB / 354.2 MB, free: 15.98 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.033e-05/0.0943, allocations: 35.55 kB / 354.2 MB, free: 15.95 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.547e-05/0.09435, allocations: 25.62 kB / 354.2 MB, free: 15.92 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.09449, allocations: 318.8 kB / 354.6 MB, free: 15.6 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.171e-05/0.09454, allocations: 23.98 kB / 354.6 MB, free: 15.57 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.573e-05/0.09461, allocations: 62.7 kB / 354.6 MB, free: 15.5 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001167/0.09473, allocations: 85.08 kB / 354.7 MB, free: 15.39 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.09474, allocations: 0 / 354.7 MB, free: 15.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000164/0.09491, allocations: 113.5 kB / 354.8 MB, free: 15.28 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.09493, allocations: 4 kB / 354.8 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.09495, allocations: 4 kB / 354.8 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.09497, allocations: 0 / 354.8 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.285e-05/0.09506, allocations: 23.98 kB / 354.9 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.09507, allocations: 11.88 kB / 354.9 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.028e-05/0.09512, allocations: 0 / 354.9 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.09514, allocations: 8 kB / 354.9 MB, free: 15.23 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 9.478e-05/0.09524, allocations: 121.9 kB / 355 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.153e-05/0.09528, allocations: 7.906 kB / 355 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.336e-05/0.09531, allocations: 8.375 kB / 355 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.09532, allocations: 4 kB / 355 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.09533, allocations: 3.938 kB / 355 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.09534, allocations: 0 / 355 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005105/0.09586, allocations: 418.5 kB / 355.4 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.09587, allocations: 4 kB / 355.4 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.145e-05/0.09597, allocations: 19.98 kB / 355.5 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.09598, allocations: 3.938 kB / 355.5 MB, free: 14.56 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.096, allocations: 4 kB / 355.5 MB, free: 14.56 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.09601, allocations: 4 kB / 355.5 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.09601, allocations: 3.938 kB / 355.5 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002265/0.09625, allocations: 236.2 kB / 355.7 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.777e-05/0.0963, allocations: 89.19 kB / 355.8 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.09633, allocations: 0 / 355.8 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.964e-05/0.0964, allocations: 4.094 kB / 355.8 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.082e-05/0.09643, allocations: 19.98 kB / 355.8 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.09644, allocations: 4 kB / 355.8 MB, free: 14.16 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.529e-05/0.09649, allocations: 91.27 kB / 355.9 MB, free: 14.07 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.0965, allocations: 0 / 355.9 MB, free: 14.07 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002483/0.09675, allocations: 16 kB / 355.9 MB, free: 14.05 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.0004221/0.09718, allocations: 0.7711 MB / 356.7 MB, free: 13.24 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001222/0.09731, allocations: 63.84 kB / 356.8 MB, free: 13.18 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.09732, allocations: 4.25 kB / 356.8 MB, free: 13.17 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.554e-05/0.09736, allocations: 27.92 kB / 356.8 MB, free: 13.14 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003367/0.09771, allocations: 16 kB / 356.8 MB, free: 13.13 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001593/0.09931, allocations: 1.658 MB / 358.5 MB, free: 11.32 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000249/0.09957, allocations: 0.7007 MB / 359.2 MB, free: 10.6 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.806e-05/0.09962, allocations: 8.422 kB / 359.2 MB, free: 10.59 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.585e-05/0.09967, allocations: 23.42 kB / 359.2 MB, free: 10.57 MB / 302.1 MB Notification: Performance of SimCode: time 1.362e-06/0.09968, allocations: 0 / 359.2 MB, free: 10.57 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01884/0.1185, allocations: 1.862 MB / 361.1 MB, free: 8.777 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.826/7.945, allocations: 10.5 kB / 361.1 MB, free: 8.77 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