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.001373/0.001373, allocations: 110.6 kB / 17.73 MB, free: 5.34 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.001549/0.001549, allocations: 194.9 kB / 18.67 MB, free: 4.406 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.376/1.376, allocations: 205.1 MB / 224.5 MB, free: 12.23 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.001334/0.001334, allocations: 51.92 kB / 328 MB, free: 3.812 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08816/0.0895, allocations: 46.62 MB / 374.6 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.003003/0.09256, allocations: 1.624 MB / 376.3 MB, free: 3.445 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002759/0.09286, allocations: 67.78 kB / 376.3 MB, free: 3.379 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.932e-05/0.09296, allocations: 0 / 376.3 MB, free: 3.379 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000106/0.09312, allocations: 15.8 kB / 376.3 MB, free: 3.363 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.2e-05/0.09319, allocations: 15.86 kB / 376.4 MB, free: 3.348 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001352/0.09333, allocations: 19.97 kB / 376.4 MB, free: 3.328 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001242/0.09346, allocations: 59.73 kB / 376.4 MB, free: 3.27 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.09359, allocations: 27.97 kB / 376.5 MB, free: 3.242 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.549e-05/0.09364, allocations: 19.94 kB / 376.5 MB, free: 3.223 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.893e-05/0.09372, allocations: 27.86 kB / 376.5 MB, free: 3.195 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.09374, allocations: 4 kB / 376.5 MB, free: 3.191 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.325e-05/0.09376, allocations: 4 kB / 376.5 MB, free: 3.188 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.528e-05/0.09379, allocations: 19.92 kB / 376.5 MB, free: 3.168 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.051e-05/0.09383, allocations: 27.86 kB / 376.6 MB, free: 3.141 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000137/0.09398, allocations: 63.73 kB / 376.6 MB, free: 3.078 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.09399, allocations: 4 kB / 376.6 MB, free: 3.074 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.09399, allocations: 0 / 376.6 MB, free: 3.074 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.09401, allocations: 0 / 376.6 MB, free: 3.074 MB / 318.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.0004564/0.09447, allocations: 371.1 kB / 377 MB, free: 2.66 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.09452, allocations: 12.03 kB / 377 MB, free: 2.648 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.629e-05/0.09456, allocations: 34.75 kB / 377 MB, free: 2.605 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.207e-05/0.0946, allocations: 4.938 kB / 377 MB, free: 2.602 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001996/0.09481, allocations: 184.3 kB / 377.2 MB, free: 2.383 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.09483, allocations: 12.31 kB / 377.2 MB, free: 2.371 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.881e-05/0.09486, allocations: 4.375 kB / 377.2 MB, free: 2.367 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/0.09504, allocations: 74.17 kB / 377.3 MB, free: 2.289 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.09506, allocations: 3.938 kB / 377.3 MB, free: 2.285 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.09508, allocations: 4 kB / 377.3 MB, free: 2.281 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.09509, allocations: 0 / 377.3 MB, free: 2.281 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.563e-05/0.09519, allocations: 39.97 kB / 377.4 MB, free: 2.242 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006257/0.09582, allocations: 379.6 kB / 377.7 MB, free: 1.816 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001073/0.09594, allocations: 62.5 kB / 377.8 MB, free: 1.746 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.492e-05/0.09598, allocations: 16.86 kB / 377.8 MB, free: 1.727 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.262e-05/0.096, allocations: 0 / 377.8 MB, free: 1.727 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.057e-05/0.09602, allocations: 34.56 kB / 377.8 MB, free: 1.684 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.09603, allocations: 0 / 377.8 MB, free: 1.684 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007122/0.09675, allocations: 0.5132 MB / 378.4 MB, free: 1.078 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.381e-05/0.09679, allocations: 51.41 kB / 378.4 MB, free: 1.016 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.903e-05/0.09689, allocations: 121.8 kB / 378.5 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.09691, allocations: 25.7 kB / 378.5 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.135e-05/0.09698, allocations: 100 kB / 378.6 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.666e-05/0.09701, allocations: 35.67 kB / 378.7 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.443e-05/0.09706, allocations: 29.66 kB / 378.7 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.09718, allocations: 322.8 kB / 379 MB, free: 368 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.811e-05/0.09722, allocations: 20 kB / 379 MB, free: 348 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.878e-05/0.09729, allocations: 57.14 kB / 379.1 MB, free: 272 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001018/0.09739, allocations: 93.53 kB / 379.2 MB, free: 160 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.0974, allocations: 0 / 379.2 MB, free: 160 kB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001605/0.09757, allocations: 109.5 kB / 379.3 MB, free: 44 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.09759, allocations: 4 kB / 379.3 MB, free: 40 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.09761, allocations: 8 kB / 379.3 MB, free: 32 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.09763, allocations: 3.938 kB / 379.3 MB, free: 28 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.972e-05/0.09772, allocations: 27.92 kB / 379.3 MB, free: 0 / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.092e-05/0.2723, allocations: 6.281 kB / 379.3 MB, free: 12.76 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001296/0.2725, allocations: 1.844 kB / 379.3 MB, free: 12.76 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.546e-05/0.2725, allocations: 4.375 kB / 379.4 MB, free: 12.76 MB / 318.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 0.0001316/0.2726, allocations: 122.3 kB / 379.5 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.54e-05/0.2727, allocations: 6.906 kB / 379.5 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.191e-05/0.2727, allocations: 13.62 kB / 379.5 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.2728, allocations: 3.75 kB / 379.5 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.2728, allocations: 1.781 kB / 379.5 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.2728, allocations: 2.859 kB / 379.5 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006514/0.2734, allocations: 419.2 kB / 379.9 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.2735, allocations: 1.375 kB / 379.9 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/0.2736, allocations: 18.73 kB / 379.9 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.343e-06/0.2736, allocations: 4.719 kB / 379.9 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.2736, allocations: 2.75 kB / 379.9 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/0.2736, allocations: 1.375 kB / 379.9 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.2736, allocations: 1.375 kB / 379.9 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002503/0.2739, allocations: 235.7 kB / 380.2 MB, free: 12.13 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.691e-05/0.2739, allocations: 86.92 kB / 380.3 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.406e-05/0.274, allocations: 9.391 kB / 380.3 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.957e-05/0.274, allocations: 3 kB / 380.3 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.956e-05/0.2741, allocations: 11.12 kB / 380.3 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.2741, allocations: 8.703 kB / 380.3 MB, free: 12.04 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.959e-05/0.2742, allocations: 89.09 kB / 380.4 MB, free: 11.96 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2742, allocations: 1.203 kB / 380.4 MB, free: 11.96 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002979/0.2745, allocations: 20.06 kB / 380.4 MB, free: 11.96 MB / 318.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.000392/0.2749, allocations: 0.7653 MB / 381.2 MB, free: 11.27 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001781/0.2751, allocations: 60.23 kB / 381.2 MB, free: 11.27 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.2751, allocations: 0 / 381.2 MB, free: 11.27 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.175e-05/0.2751, allocations: 31.72 kB / 381.2 MB, free: 11.27 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003532/0.2755, allocations: 24.3 kB / 381.3 MB, free: 11.27 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001404/0.2769, allocations: 1.654 MB / 382.9 MB, free: 9.863 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001594/0.2771, allocations: 0.6952 MB / 383.6 MB, free: 9.164 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.204e-05/0.2771, allocations: 17.78 kB / 383.6 MB, free: 9.16 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.196e-05/0.2772, allocations: 25.05 kB / 383.7 MB, free: 9.152 MB / 318.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2772, allocations: 3.938 kB / 383.7 MB, free: 9.148 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02235/0.2995, allocations: 1.91 MB / 385.6 MB, free: 8.617 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.874/8.173, allocations: 9.344 kB / 385.6 MB, free: 8.609 MB / 318.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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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.csv","/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