Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.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.001754/0.001754, allocations: 114.9 kB / 18.4 MB, free: 4.676 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.002091/0.002091, allocations: 189.3 kB / 21.34 MB, free: 1.742 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.471/1.471, allocations: 205.1 MB / 229.2 MB, free: 4.367 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.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.WhyArrows,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.WhyArrows,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "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.001738/0.001738, allocations: 58.88 kB / 334.7 MB, free: 14.71 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09643/0.09817, allocations: 46.62 MB / 381.3 MB, free: 0.957 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003926/0.1021, allocations: 2.238 MB / 383.6 MB, free: 14.71 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006491/0.1028, allocations: 195.3 kB / 383.8 MB, free: 14.52 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000197/0.1031, allocations: 4 kB / 383.8 MB, free: 14.51 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001384/0.1032, allocations: 35.64 kB / 383.8 MB, free: 14.48 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000251/0.1035, allocations: 63.41 kB / 383.9 MB, free: 14.41 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002291/0.1037, allocations: 51.94 kB / 383.9 MB, free: 14.36 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003338/0.1041, allocations: 235 kB / 384.1 MB, free: 14.13 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002474/0.1043, allocations: 118.3 kB / 384.3 MB, free: 14.02 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001548/0.1045, allocations: 87.72 kB / 384.3 MB, free: 13.93 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001914/0.1047, allocations: 103.5 kB / 384.4 MB, free: 13.83 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.362e-05/0.1048, allocations: 20 kB / 384.5 MB, free: 13.81 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.86e-05/0.1048, allocations: 20 kB / 384.5 MB, free: 13.79 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.014e-05/0.1049, allocations: 55.77 kB / 384.5 MB, free: 13.73 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001363/0.105, allocations: 115.4 kB / 384.7 MB, free: 13.62 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003376/0.1054, allocations: 254.9 kB / 384.9 MB, free: 13.37 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.1054, allocations: 7.984 kB / 384.9 MB, free: 13.36 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1054, allocations: 0 / 384.9 MB, free: 13.36 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.404e-05/0.1054, allocations: 0 / 384.9 MB, free: 13.36 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0008534/0.1063, allocations: 0.5029 MB / 385.4 MB, free: 12.81 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.1063, allocations: 12.03 kB / 385.4 MB, free: 12.8 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001181/0.1065, allocations: 62.72 kB / 385.5 MB, free: 12.73 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.172e-05/0.1065, allocations: 24.8 kB / 385.5 MB, free: 12.7 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002595/0.1068, allocations: 231.9 kB / 385.7 MB, free: 12.44 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.53e-05/0.1068, allocations: 16.94 kB / 385.8 MB, free: 12.42 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.8e-05/0.1069, allocations: 24.38 kB / 385.8 MB, free: 12.4 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000401/0.1073, allocations: 232.9 kB / 386 MB, free: 12.15 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.396e-05/0.1073, allocations: 7.938 kB / 386 MB, free: 12.14 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.419e-05/0.1074, allocations: 12 kB / 386 MB, free: 12.13 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/0.1074, allocations: 4 kB / 386 MB, free: 12.13 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002783/0.1077, allocations: 135.9 kB / 386.2 MB, free: 12 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001299/0.109, allocations: 0.8636 MB / 387 MB, free: 11.07 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002521/0.1092, allocations: 147.7 kB / 387.2 MB, free: 10.9 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.1094, allocations: 66.55 kB / 387.2 MB, free: 10.82 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.383e-05/0.1094, allocations: 4 kB / 387.2 MB, free: 10.82 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.807e-05/0.1094, allocations: 46.44 kB / 387.3 MB, free: 10.77 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.874e-06/0.1094, allocations: 0 / 387.3 MB, free: 10.77 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004043/0.1098, allocations: 170.2 kB / 387.5 MB, free: 10.59 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.41e-05/0.1099, allocations: 102.8 kB / 387.6 MB, free: 10.47 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002058/0.1101, allocations: 198.4 kB / 387.7 MB, free: 10.27 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/0.1102, allocations: 33.7 kB / 387.8 MB, free: 10.23 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.1103, allocations: 164.1 kB / 387.9 MB, free: 10.06 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.075e-05/0.1104, allocations: 67.42 kB / 388 MB, free: 9.996 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.452e-05/0.1105, allocations: 53.98 kB / 388.1 MB, free: 9.934 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.1106, allocations: 330.8 kB / 388.4 MB, free: 9.602 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.854e-05/0.1107, allocations: 44.55 kB / 388.4 MB, free: 9.559 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001867/0.1109, allocations: 154.8 kB / 388.6 MB, free: 9.359 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003121/0.1112, allocations: 213.5 kB / 388.8 MB, free: 9.102 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.1113, allocations: 4 kB / 388.8 MB, free: 9.098 MB / 318.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004152/0.1117, allocations: 253.3 kB / 389 MB, free: 8.844 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/0.1117, allocations: 8 kB / 389 MB, free: 8.836 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.1117, allocations: 7.938 kB / 389 MB, free: 8.828 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.205e-05/0.1117, allocations: 7.984 kB / 389.1 MB, free: 8.82 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002236/0.112, allocations: 63.91 kB / 389.1 MB, free: 8.758 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.112, allocations: 7.938 kB / 389.1 MB, free: 8.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001539/0.1122, allocations: 32.16 kB / 389.2 MB, free: 8.719 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.713e-05/0.1122, allocations: 12 kB / 389.2 MB, free: 8.707 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (33): * Single equations (assignments): 33 * 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.0001399/0.1123, allocations: 145.7 kB / 389.3 MB, free: 8.555 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.424e-05/0.1124, allocations: 19.84 kB / 389.3 MB, free: 8.535 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.005e-05/0.1125, allocations: 25.39 kB / 389.4 MB, free: 8.512 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.1125, allocations: 4 kB / 389.4 MB, free: 8.508 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.1125, allocations: 0 / 389.4 MB, free: 8.508 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.1125, allocations: 4 kB / 389.4 MB, free: 8.504 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006078/0.1131, allocations: 424.9 kB / 389.8 MB, free: 8.023 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.1131, allocations: 0 / 389.8 MB, free: 8.023 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002029/0.1134, allocations: 39.92 kB / 389.8 MB, free: 7.984 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.1134, allocations: 0 / 389.8 MB, free: 7.984 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.077e-05/0.1134, allocations: 8 kB / 389.8 MB, free: 7.977 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.1134, allocations: 0 / 389.8 MB, free: 7.977 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.1134, allocations: 4 kB / 389.8 MB, free: 7.973 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004503/0.1139, allocations: 385.1 kB / 390.2 MB, free: 7.57 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.898e-05/0.114, allocations: 96.95 kB / 390.3 MB, free: 7.457 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.245e-05/0.114, allocations: 8 kB / 390.3 MB, free: 7.449 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.1141, allocations: 8 kB / 390.3 MB, free: 7.441 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.913e-05/0.1142, allocations: 11.92 kB / 390.3 MB, free: 7.43 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.1142, allocations: 12 kB / 390.3 MB, free: 7.418 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001371/0.1143, allocations: 144.3 kB / 390.5 MB, free: 7.277 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1143, allocations: 0 / 390.5 MB, free: 7.277 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003668/0.1147, allocations: 51.89 kB / 390.5 MB, free: 7.227 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (inertia2.s,inertia2.v,mass1.s,mass1.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 (17): * Single equations (assignments): 17 * 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.0007592/0.1155, allocations: 0.9058 MB / 391.4 MB, free: 6.281 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003061/0.1158, allocations: 140.5 kB / 391.6 MB, free: 6.145 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.1158, allocations: 0 / 391.6 MB, free: 6.145 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.079e-05/0.1159, allocations: 59.92 kB / 391.6 MB, free: 6.086 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005238/0.1164, allocations: 35.92 kB / 391.7 MB, free: 6.051 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003296/0.1197, allocations: 2.557 MB / 394.2 MB, free: 3.285 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004023/0.1202, allocations: 0.7321 MB / 395 MB, free: 2.523 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001095/0.1203, allocations: 21.95 kB / 395 MB, free: 2.504 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.1204, allocations: 55.42 kB / 395 MB, free: 2.449 MB / 318.1 MB Notification: Performance of SimCode: time 7.61e-07/0.1204, allocations: 0 / 395 MB, free: 2.449 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02989/0.1503, allocations: 3.746 MB / 398.8 MB, free: 14.65 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.258/8.408, allocations: 0 / 398.8 MB, free: 14.65 MB / 334.1 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows_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_WhyArrows.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.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.872778774937615]