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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001646/0.001646, allocations: 114.5 kB / 18.45 MB, free: 4.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002141/0.002141, allocations: 216.3 kB / 21.41 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.437/1.437, allocations: 207.6 MB / 231.8 MB, free: 4.094 MB / 174.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001702/0.001702, allocations: 56.56 kB / 342.3 MB, free: 10.02 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09995/0.1017, allocations: 49.14 MB / 391.4 MB, free: 8.719 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.003004/0.1047, allocations: 1.636 MB / 393 MB, free: 7.074 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000296/0.105, allocations: 71.72 kB / 393.1 MB, free: 7.004 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.294e-05/0.105, allocations: 0 / 393.1 MB, free: 7.004 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001275/0.1052, allocations: 3.938 kB / 393.1 MB, free: 7 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.026e-05/0.1052, allocations: 19.84 kB / 393.1 MB, free: 6.98 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001594/0.1054, allocations: 19.92 kB / 393.2 MB, free: 6.961 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001419/0.1055, allocations: 67.72 kB / 393.2 MB, free: 6.895 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.1056, allocations: 19.98 kB / 393.2 MB, free: 6.875 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.746e-05/0.1057, allocations: 27.86 kB / 393.3 MB, free: 6.848 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.755e-05/0.1058, allocations: 27.86 kB / 393.3 MB, free: 6.82 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.901e-05/0.1058, allocations: 7.938 kB / 393.3 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.381e-05/0.1058, allocations: 4 kB / 393.3 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.585e-05/0.1058, allocations: 11.94 kB / 393.3 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.09e-05/0.1059, allocations: 35.84 kB / 393.3 MB, free: 6.762 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001381/0.106, allocations: 63.73 kB / 393.4 MB, free: 6.699 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.106, allocations: 0 / 393.4 MB, free: 6.699 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.106, allocations: 4 kB / 393.4 MB, free: 6.695 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.143e-05/0.106, allocations: 0 / 393.4 MB, free: 6.695 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.0005395/0.1066, allocations: 363.2 kB / 393.8 MB, free: 6.289 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.1066, allocations: 12.03 kB / 393.8 MB, free: 6.277 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.242e-05/0.1067, allocations: 34.75 kB / 393.8 MB, free: 6.234 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.842e-05/0.1067, allocations: 4.938 kB / 393.8 MB, free: 6.23 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002559/0.1069, allocations: 192.2 kB / 394 MB, free: 6.004 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.1069, allocations: 4.375 kB / 394 MB, free: 6 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.06e-05/0.107, allocations: 12.38 kB / 394 MB, free: 5.988 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.1071, allocations: 70.17 kB / 394.1 MB, free: 5.914 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.1072, allocations: 7.938 kB / 394.1 MB, free: 5.906 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.1072, allocations: 0 / 394.1 MB, free: 5.906 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.1072, allocations: 0 / 394.1 MB, free: 5.906 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.59e-05/0.1072, allocations: 31.98 kB / 394.1 MB, free: 5.875 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007192/0.108, allocations: 383.6 kB / 394.5 MB, free: 5.445 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.1081, allocations: 62.55 kB / 394.6 MB, free: 5.375 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.585e-05/0.1081, allocations: 12.86 kB / 394.6 MB, free: 5.359 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.353e-05/0.1081, allocations: 7.984 kB / 394.6 MB, free: 5.352 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.1082, allocations: 30.56 kB / 394.6 MB, free: 5.312 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.1082, allocations: 3.938 kB / 394.6 MB, free: 5.309 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007827/0.1089, allocations: 0.5139 MB / 395.1 MB, free: 4.703 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/0.109, allocations: 51.41 kB / 395.2 MB, free: 4.641 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.1091, allocations: 121.8 kB / 395.3 MB, free: 4.512 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.1091, allocations: 29.7 kB / 395.3 MB, free: 4.477 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.597e-05/0.1092, allocations: 96.12 kB / 395.4 MB, free: 4.379 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.908e-05/0.1092, allocations: 31.73 kB / 395.5 MB, free: 4.348 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.274e-05/0.1093, allocations: 29.7 kB / 395.5 MB, free: 4.312 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.1094, allocations: 322.8 kB / 395.8 MB, free: 3.988 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.855e-05/0.1094, allocations: 19.98 kB / 395.8 MB, free: 3.969 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.927e-05/0.1095, allocations: 57.14 kB / 395.9 MB, free: 3.895 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001098/0.1096, allocations: 92.97 kB / 396 MB, free: 3.785 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1096, allocations: 0 / 396 MB, free: 3.785 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000164/0.1098, allocations: 113.5 kB / 396.1 MB, free: 3.668 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.1098, allocations: 4 kB / 396.1 MB, free: 3.664 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1098, allocations: 0 / 396.1 MB, free: 3.664 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.1098, allocations: 4 kB / 396.1 MB, free: 3.66 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.505e-05/0.1099, allocations: 23.98 kB / 396.1 MB, free: 3.637 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.1099, allocations: 3.938 kB / 396.1 MB, free: 3.633 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.087e-05/0.1099, allocations: 12.09 kB / 396.1 MB, free: 3.621 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.1099, allocations: 4 kB / 396.1 MB, free: 3.617 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 9.253e-05/0.11, allocations: 117.8 kB / 396.2 MB, free: 3.492 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.031e-05/0.1101, allocations: 11.95 kB / 396.3 MB, free: 3.48 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.067e-05/0.1101, allocations: 8.375 kB / 396.3 MB, free: 3.473 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.1101, allocations: 0 / 396.3 MB, free: 3.473 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.1101, allocations: 3.938 kB / 396.3 MB, free: 3.469 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.338e-06/0.1101, allocations: 7.984 kB / 396.3 MB, free: 3.461 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004923/0.1106, allocations: 410.7 kB / 396.7 MB, free: 2.988 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.1106, allocations: 8 kB / 396.7 MB, free: 2.98 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.498e-05/0.1107, allocations: 15.98 kB / 396.7 MB, free: 2.965 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.474e-06/0.1107, allocations: 4 kB / 396.7 MB, free: 2.961 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.1107, allocations: 8 kB / 396.7 MB, free: 2.953 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.1107, allocations: 160 / 396.7 MB, free: 2.953 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1107, allocations: 4 kB / 396.7 MB, free: 2.949 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002507/0.111, allocations: 231.6 kB / 396.9 MB, free: 2.691 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.956e-05/0.111, allocations: 93.61 kB / 397 MB, free: 2.582 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.895e-05/0.1111, allocations: 8 kB / 397 MB, free: 2.574 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.499e-05/0.1111, allocations: 0 / 397 MB, free: 2.574 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.469e-05/0.1112, allocations: 4 kB / 397 MB, free: 2.57 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/0.1112, allocations: 4 kB / 397.1 MB, free: 2.566 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.445e-05/0.1112, allocations: 99.2 kB / 397.1 MB, free: 2.469 MB / 318.1 MB Notification: Performance of sort global known variables: time 5e-08/0.1112, allocations: 0 / 397.1 MB, free: 2.469 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002466/0.1115, allocations: 16 kB / 397.2 MB, free: 2.453 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.0005818/0.1121, allocations: 0.7672 MB / 397.9 MB, free: 1.645 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001566/0.1122, allocations: 63.97 kB / 398 MB, free: 1.582 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1122, allocations: 0 / 398 MB, free: 1.582 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.144e-05/0.1123, allocations: 31.86 kB / 398 MB, free: 1.551 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003298/0.1126, allocations: 16.06 kB / 398 MB, free: 1.535 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001804/0.1144, allocations: 1.663 MB / 399.7 MB, free: 15.73 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003291/0.1147, allocations: 0.7002 MB / 400.4 MB, free: 15.01 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.963e-05/0.1148, allocations: 8.422 kB / 400.4 MB, free: 15 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.446e-05/0.1148, allocations: 19.44 kB / 400.4 MB, free: 14.98 MB / 334.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1148, allocations: 0 / 400.4 MB, free: 14.98 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02533/0.1401, allocations: 1.925 MB / 402.4 MB, free: 13 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.897/8.037, allocations: 12.05 kB / 402.4 MB, free: 12.99 MB / 334.1 MB " [Timeout remaining time 652] (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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.50198530999478]