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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 124 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001471/0.001471, allocations: 190.9 kB / 20.73 MB, free: 2.328 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 225.6 MB / 249.1 MB, free: 3.652 MB / 190.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001578, allocations: 51.92 kB / 365.6 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1018, allocations: 52.14 MB / 417.8 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002916/0.1047, allocations: 1.648 MB / 419.4 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002654/0.105, allocations: 67.77 kB / 419.5 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.618e-05/0.1051, allocations: 0 / 419.5 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001189/0.1052, allocations: 23.86 kB / 419.5 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001747/0.1054, allocations: 15.8 kB / 419.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001471/0.1055, allocations: 19.97 kB / 419.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001397/0.1057, allocations: 59.73 kB / 419.6 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.1058, allocations: 15.98 kB / 419.6 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.709e-05/0.1058, allocations: 23.92 kB / 419.6 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.305e-05/0.1059, allocations: 27.86 kB / 419.7 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.012e-05/0.1059, allocations: 4 kB / 419.7 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.449e-05/0.1059, allocations: 8 kB / 419.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.423e-05/0.106, allocations: 15.92 kB / 419.7 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.965e-05/0.106, allocations: 27.88 kB / 419.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001646/0.1062, allocations: 67.66 kB / 419.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1062, allocations: 0 / 419.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1062, allocations: 0 / 419.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.1062, allocations: 0 / 419.8 MB, free: 10.66 MB / 350.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.0005601/0.1068, allocations: 375.2 kB / 420.1 MB, free: 10.24 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.1068, allocations: 8.031 kB / 420.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.105e-05/0.1068, allocations: 38.75 kB / 420.2 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.349e-05/0.1069, allocations: 12.89 kB / 420.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002527/0.1071, allocations: 176.3 kB / 420.4 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.1071, allocations: 4.375 kB / 420.4 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.915e-05/0.1072, allocations: 8.375 kB / 420.4 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.1073, allocations: 72.42 kB / 420.5 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.1074, allocations: 7.891 kB / 420.5 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.1074, allocations: 4 kB / 420.5 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.1074, allocations: 4 kB / 420.5 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.427e-05/0.1075, allocations: 35.91 kB / 420.5 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000701/0.1082, allocations: 379.7 kB / 420.9 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001186/0.1083, allocations: 58.5 kB / 420.9 MB, free: 9.336 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.496e-05/0.1083, allocations: 16.86 kB / 421 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.339e-05/0.1083, allocations: 0 / 421 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.1084, allocations: 30.56 kB / 421 MB, free: 9.277 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.1084, allocations: 4 kB / 421 MB, free: 9.273 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008248/0.1092, allocations: 0.5209 MB / 421.5 MB, free: 8.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.044e-05/0.1092, allocations: 51.41 kB / 421.6 MB, free: 8.598 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.1093, allocations: 117.8 kB / 421.7 MB, free: 8.473 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.1094, allocations: 29.7 kB / 421.7 MB, free: 8.438 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.753e-05/0.1094, allocations: 100.1 kB / 421.8 MB, free: 8.336 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.336e-05/0.1095, allocations: 35.69 kB / 421.8 MB, free: 8.301 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.643e-05/0.1095, allocations: 29.66 kB / 421.9 MB, free: 8.266 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.1097, allocations: 322.8 kB / 422.2 MB, free: 7.941 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.776e-05/0.1097, allocations: 16 kB / 422.2 MB, free: 7.926 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.07e-05/0.1098, allocations: 53.14 kB / 422.2 MB, free: 7.855 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001157/0.1099, allocations: 93.06 kB / 422.3 MB, free: 7.746 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1099, allocations: 0 / 422.3 MB, free: 7.746 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000167/0.11, allocations: 109.5 kB / 422.4 MB, free: 7.633 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.1101, allocations: 4 kB / 422.4 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.1101, allocations: 4.094 kB / 422.5 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.1101, allocations: 4 kB / 422.5 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.599e-05/0.1102, allocations: 32.39 kB / 422.5 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.1102, allocations: 7.938 kB / 422.5 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.966e-05/0.1102, allocations: 4 kB / 422.5 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.1102, allocations: 4 kB / 422.5 MB, free: 7.574 MB / 350.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.181e-05/0.1103, allocations: 122.4 kB / 422.6 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.787e-05/0.1104, allocations: 7.938 kB / 422.6 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.102e-05/0.1104, allocations: 12.38 kB / 422.6 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.1104, allocations: 11.94 kB / 422.7 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.1104, allocations: 3.938 kB / 422.7 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.1104, allocations: 0 / 422.7 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005304/0.1109, allocations: 406.6 kB / 423.1 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1109, allocations: 0 / 423.1 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.995e-05/0.111, allocations: 28.08 kB / 423.1 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.111, allocations: 0 / 423.1 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.1111, allocations: 8 kB / 423.1 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.1111, allocations: 0 / 423.1 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.1111, allocations: 4 kB / 423.1 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002516/0.1113, allocations: 235.7 kB / 423.3 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.302e-05/0.1114, allocations: 85.06 kB / 423.4 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.1114, allocations: 0 / 423.4 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.01e-05/0.1114, allocations: 8 kB / 423.4 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.937e-05/0.1115, allocations: 8.172 kB / 423.4 MB, free: 6.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.1115, allocations: 4 kB / 423.4 MB, free: 6.516 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.563e-05/0.1115, allocations: 99.27 kB / 423.5 MB, free: 6.418 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1115, allocations: 0 / 423.5 MB, free: 6.418 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002508/0.1118, allocations: 19.94 kB / 423.5 MB, free: 6.398 MB / 350.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.0005798/0.1124, allocations: 0.7676 MB / 424.3 MB, free: 5.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001551/0.1125, allocations: 59.89 kB / 424.4 MB, free: 5.531 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.1125, allocations: 0 / 424.4 MB, free: 5.531 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.946e-05/0.1126, allocations: 32.48 kB / 424.4 MB, free: 5.5 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003406/0.1129, allocations: 19.98 kB / 424.4 MB, free: 5.48 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001826/0.1147, allocations: 1.662 MB / 426.1 MB, free: 3.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003368/0.1151, allocations: 0.6967 MB / 426.8 MB, free: 2.957 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.087e-05/0.1151, allocations: 8.422 kB / 426.8 MB, free: 2.949 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.06e-05/0.1152, allocations: 23.44 kB / 426.8 MB, free: 2.926 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1152, allocations: 0 / 426.8 MB, free: 2.926 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02535/0.1405, allocations: 1.93 MB / 428.7 MB, free: 1.094 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.958/8.099, allocations: 11.94 kB / 428.8 MB, free: 1.082 MB / 350.1 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Mechanics_Translational_Examples_Accelerate.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate_res.csv","/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.52411602716893]