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.001352/0.001352, allocations: 113 kB / 17.73 MB, free: 5.207 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.001224/0.001224, allocations: 188.2 kB / 18.67 MB, free: 4.277 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.441/1.441, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001993/0.001994, allocations: 55.92 kB / 328 MB, free: 3.824 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09682/0.09882, allocations: 46.62 MB / 374.6 MB, free: 5.094 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.003367/0.1022, allocations: 1.62 MB / 376.3 MB, free: 3.461 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000346/0.1026, allocations: 67.78 kB / 376.3 MB, free: 3.395 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001131/0.1028, allocations: 0 / 376.3 MB, free: 3.395 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001367/0.103, allocations: 19.8 kB / 376.3 MB, free: 3.375 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.006e-05/0.103, allocations: 15.84 kB / 376.4 MB, free: 3.359 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001604/0.1032, allocations: 19.98 kB / 376.4 MB, free: 3.34 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001659/0.1034, allocations: 63.73 kB / 376.4 MB, free: 3.277 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.1035, allocations: 15.98 kB / 376.5 MB, free: 3.262 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.461e-05/0.1036, allocations: 31.91 kB / 376.5 MB, free: 3.23 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.327e-05/0.1037, allocations: 23.86 kB / 376.5 MB, free: 3.207 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.995e-05/0.1037, allocations: 4 kB / 376.5 MB, free: 3.203 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.822e-05/0.1037, allocations: 4 kB / 376.5 MB, free: 3.199 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.693e-05/0.1038, allocations: 15.94 kB / 376.5 MB, free: 3.184 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.722e-05/0.1038, allocations: 31.86 kB / 376.6 MB, free: 3.152 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000162/0.104, allocations: 67.72 kB / 376.6 MB, free: 3.086 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.104, allocations: 0 / 376.6 MB, free: 3.086 MB / 318.1 MB Notification: Performance of FrontEnd: time 5.01e-06/0.104, allocations: 0 / 376.6 MB, free: 3.086 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.104, allocations: 3.938 kB / 376.6 MB, free: 3.082 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.0005699/0.1046, allocations: 367.2 kB / 377 MB, free: 2.672 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.1047, allocations: 8.031 kB / 377 MB, free: 2.664 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.514e-05/0.1047, allocations: 34.75 kB / 377 MB, free: 2.621 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.527e-05/0.1048, allocations: 4.938 kB / 377 MB, free: 2.617 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000337/0.1051, allocations: 188.3 kB / 377.2 MB, free: 2.395 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.1051, allocations: 12.36 kB / 377.2 MB, free: 2.383 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.234e-05/0.1052, allocations: 4.375 kB / 377.2 MB, free: 2.379 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.1054, allocations: 70.17 kB / 377.3 MB, free: 2.305 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/0.1054, allocations: 7.938 kB / 377.3 MB, free: 2.297 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.1054, allocations: 0 / 377.3 MB, free: 2.297 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.1054, allocations: 0 / 377.3 MB, free: 2.297 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.482e-05/0.1055, allocations: 35.98 kB / 377.4 MB, free: 2.262 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007839/0.1063, allocations: 383.6 kB / 377.7 MB, free: 1.832 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001144/0.1064, allocations: 62.44 kB / 377.8 MB, free: 1.762 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.381e-05/0.1065, allocations: 20.86 kB / 377.8 MB, free: 1.738 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.829e-06/0.1065, allocations: 0 / 377.8 MB, free: 1.738 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.1065, allocations: 34.56 kB / 377.8 MB, free: 1.695 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.173e-06/0.1066, allocations: 0 / 377.8 MB, free: 1.695 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008873/0.1074, allocations: 0.5136 MB / 378.4 MB, free: 1.09 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/0.1075, allocations: 55.41 kB / 378.4 MB, free: 1.023 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.1076, allocations: 121.8 kB / 378.5 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.1077, allocations: 29.64 kB / 378.6 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.874e-05/0.1077, allocations: 96.05 kB / 378.6 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.51e-05/0.1078, allocations: 39.73 kB / 378.7 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.642e-05/0.1078, allocations: 25.66 kB / 378.7 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.108, allocations: 318.8 kB / 379 MB, free: 380 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.554e-05/0.108, allocations: 24 kB / 379 MB, free: 356 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.568e-05/0.1081, allocations: 57.14 kB / 379.1 MB, free: 280 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001247/0.1083, allocations: 93.06 kB / 379.2 MB, free: 168 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.1083, allocations: 0 / 379.2 MB, free: 168 kB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000183/0.1085, allocations: 109.5 kB / 379.3 MB, free: 52 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.1085, allocations: 8 kB / 379.3 MB, free: 44 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.1085, allocations: 3.984 kB / 379.3 MB, free: 40 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.346e-05/0.1085, allocations: 8.094 kB / 379.3 MB, free: 32 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.996e-05/0.1086, allocations: 23.94 kB / 379.3 MB, free: 8 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.631e-05/0.1087, allocations: 7.938 kB / 379.4 MB, free: 0 / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1746/0.2833, allocations: 1.094 kB / 379.4 MB, free: 12.77 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.107e-05/0.2833, allocations: 3.938 kB / 379.4 MB, free: 12.77 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.0001127/0.2835, allocations: 122.9 kB / 379.5 MB, free: 12.65 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.683e-05/0.2835, allocations: 8.219 kB / 379.5 MB, free: 12.65 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.823e-05/0.2836, allocations: 11.59 kB / 379.5 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/0.2836, allocations: 3.375 kB / 379.5 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/0.2836, allocations: 5.5 kB / 379.5 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.2836, allocations: 2.297 kB / 379.5 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006152/0.2843, allocations: 413.1 kB / 379.9 MB, free: 12.31 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.778e-06/0.2843, allocations: 1.281 kB / 379.9 MB, free: 12.31 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.2844, allocations: 25.03 kB / 379.9 MB, free: 12.31 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.025e-06/0.2844, allocations: 1.812 kB / 379.9 MB, free: 12.31 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.2844, allocations: 3.453 kB / 379.9 MB, free: 12.31 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.88e-06/0.2844, allocations: 1.281 kB / 379.9 MB, free: 12.31 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.2844, allocations: 3.422 kB / 379.9 MB, free: 12.31 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000236/0.2847, allocations: 234.5 kB / 380.2 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.291e-05/0.2847, allocations: 84.05 kB / 380.3 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.096e-05/0.2848, allocations: 5.516 kB / 380.3 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.894e-05/0.2848, allocations: 9.406 kB / 380.3 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.567e-05/0.2849, allocations: 9.953 kB / 380.3 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-06/0.2849, allocations: 4.5 kB / 380.3 MB, free: 12.05 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.578e-05/0.285, allocations: 93.59 kB / 380.4 MB, free: 11.97 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.285, allocations: 2.359 kB / 380.4 MB, free: 11.97 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003125/0.2853, allocations: 17.75 kB / 380.4 MB, free: 11.97 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.0003893/0.2857, allocations: 0.7627 MB / 381.2 MB, free: 11.28 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000171/0.2859, allocations: 61.98 kB / 381.2 MB, free: 11.28 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.2859, allocations: 0 / 381.2 MB, free: 11.28 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.158e-05/0.2859, allocations: 31.14 kB / 381.3 MB, free: 11.28 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/0.2863, allocations: 16.03 kB / 381.3 MB, free: 11.28 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001451/0.2877, allocations: 1.659 MB / 382.9 MB, free: 9.879 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001502/0.2879, allocations: 0.6954 MB / 383.6 MB, free: 9.18 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.668e-05/0.288, allocations: 14.27 kB / 383.6 MB, free: 9.176 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.915e-05/0.288, allocations: 24 kB / 383.7 MB, free: 9.168 MB / 318.1 MB Notification: Performance of SimCode: time 5.71e-07/0.288, allocations: 3.938 kB / 383.7 MB, free: 9.164 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02798/0.316, allocations: 1.902 MB / 385.6 MB, free: 8.641 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.371/8.687, allocations: 13.19 kB / 385.6 MB, free: 8.629 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