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.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.001689/0.001689, allocations: 115.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.001951/0.001951, allocations: 215.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.471/1.471, allocations: 207.6 MB / 231.8 MB, free: 4.043 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.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.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.001721/0.001721, allocations: 56.97 kB / 342.3 MB, free: 10.01 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0985/0.1002, allocations: 49.13 MB / 391.4 MB, free: 8.723 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003594/0.1038, allocations: 2.258 MB / 393.7 MB, free: 6.457 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004305/0.1042, allocations: 183.3 kB / 393.8 MB, free: 6.277 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.664e-05/0.1043, allocations: 4 kB / 393.8 MB, free: 6.273 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.122e-05/0.1044, allocations: 39.64 kB / 393.9 MB, free: 6.234 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001613/0.1046, allocations: 63.42 kB / 393.9 MB, free: 6.172 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001738/0.1048, allocations: 51.94 kB / 394 MB, free: 6.121 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002674/0.105, allocations: 234.9 kB / 394.2 MB, free: 5.891 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002/0.1052, allocations: 82.59 kB / 394.3 MB, free: 5.809 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000122/0.1053, allocations: 95.64 kB / 394.4 MB, free: 5.715 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001526/0.1055, allocations: 107.5 kB / 394.5 MB, free: 5.609 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.864e-05/0.1055, allocations: 20 kB / 394.5 MB, free: 5.59 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.687e-05/0.1056, allocations: 20 kB / 394.5 MB, free: 5.57 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.279e-05/0.1056, allocations: 51.84 kB / 394.6 MB, free: 5.52 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000114/0.1058, allocations: 111.5 kB / 394.7 MB, free: 5.41 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003712/0.1061, allocations: 254.9 kB / 395 MB, free: 5.16 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.1061, allocations: 3.984 kB / 395 MB, free: 5.156 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1061, allocations: 0 / 395 MB, free: 5.156 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.082e-06/0.1061, allocations: 0 / 395 MB, free: 5.156 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.0007901/0.1069, allocations: 0.5107 MB / 395.5 MB, free: 4.594 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.107, allocations: 8.031 kB / 395.5 MB, free: 4.586 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.778e-05/0.107, allocations: 58.72 kB / 395.5 MB, free: 4.52 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.086e-05/0.1071, allocations: 28.73 kB / 395.6 MB, free: 4.492 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002503/0.1073, allocations: 228 kB / 395.8 MB, free: 4.23 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.1074, allocations: 16.94 kB / 395.8 MB, free: 4.215 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.542e-05/0.1074, allocations: 28.36 kB / 395.8 MB, free: 4.188 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003997/0.1078, allocations: 232.8 kB / 396.1 MB, free: 3.941 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/0.1078, allocations: 3.938 kB / 396.1 MB, free: 3.938 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.29e-05/0.1078, allocations: 8 kB / 396.1 MB, free: 3.93 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.1079, allocations: 4 kB / 396.1 MB, free: 3.926 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002488/0.1081, allocations: 135.9 kB / 396.2 MB, free: 3.793 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001162/0.1093, allocations: 0.8598 MB / 397.1 MB, free: 2.871 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002473/0.1095, allocations: 155.7 kB / 397.2 MB, free: 2.691 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.1096, allocations: 66.78 kB / 397.3 MB, free: 2.617 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.685e-05/0.1096, allocations: 4 kB / 397.3 MB, free: 2.613 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/0.1097, allocations: 46.48 kB / 397.3 MB, free: 2.559 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.252e-06/0.1097, allocations: 0 / 397.3 MB, free: 2.559 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003916/0.1101, allocations: 161.5 kB / 397.5 MB, free: 2.395 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.995e-05/0.1101, allocations: 110.8 kB / 397.6 MB, free: 2.262 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001995/0.1103, allocations: 198.4 kB / 397.8 MB, free: 2.059 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.1103, allocations: 29.7 kB / 397.8 MB, free: 2.023 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.1105, allocations: 168.1 kB / 398 MB, free: 1.855 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.746e-05/0.1105, allocations: 63.44 kB / 398 MB, free: 1.793 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.878e-05/0.1106, allocations: 53.98 kB / 398.1 MB, free: 1.73 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.1107, allocations: 330.8 kB / 398.4 MB, free: 1.398 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.447e-05/0.1108, allocations: 48.55 kB / 398.5 MB, free: 1.352 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001655/0.111, allocations: 150.8 kB / 398.6 MB, free: 1.156 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000288/0.1113, allocations: 225.5 kB / 398.8 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.1113, allocations: 0 / 398.8 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000368/0.1117, allocations: 245.8 kB / 399.1 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.1117, allocations: 8.375 kB / 399.1 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.1117, allocations: 8 kB / 399.1 MB, free: 0.625 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/0.1117, allocations: 8 kB / 399.1 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002285/0.1119, allocations: 63.91 kB / 399.2 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/0.1119, allocations: 7.938 kB / 399.2 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000134/0.1121, allocations: 31.72 kB / 399.2 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.882e-05/0.1121, allocations: 12 kB / 399.2 MB, free: 0.5039 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.0001221/0.1122, allocations: 137.7 kB / 399.3 MB, free: 368 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.689e-05/0.1123, allocations: 23.84 kB / 399.4 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.79e-05/0.1124, allocations: 29.39 kB / 399.4 MB, free: 316 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1124, allocations: 0 / 399.4 MB, free: 316 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.1124, allocations: 4 kB / 399.4 MB, free: 312 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.1124, allocations: 0 / 399.4 MB, free: 312 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005707/0.1129, allocations: 421 kB / 399.8 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.1129, allocations: 0 / 399.8 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001942/0.1131, allocations: 39.92 kB / 399.9 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.1131, allocations: 8.281 kB / 399.9 MB, free: 15.78 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.1132, allocations: 4 kB / 399.9 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.1132, allocations: 4 kB / 399.9 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.1132, allocations: 4 kB / 399.9 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004124/0.1136, allocations: 397.1 kB / 400.3 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.973e-05/0.1136, allocations: 96.95 kB / 400.4 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.998e-05/0.1137, allocations: 4 kB / 400.4 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.1138, allocations: 4 kB / 400.4 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.243e-05/0.1138, allocations: 15.92 kB / 400.4 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/0.1139, allocations: 4 kB / 400.4 MB, free: 15.21 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001212/0.114, allocations: 144.3 kB / 400.5 MB, free: 15.07 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.114, allocations: 0 / 400.5 MB, free: 15.07 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003584/0.1143, allocations: 59.89 kB / 400.6 MB, free: 15.01 MB / 334.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.0007053/0.115, allocations: 0.9054 MB / 401.5 MB, free: 14.07 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002666/0.1153, allocations: 135.6 kB / 401.6 MB, free: 13.94 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1153, allocations: 0 / 401.6 MB, free: 13.94 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.87e-05/0.1154, allocations: 51.92 kB / 401.7 MB, free: 13.89 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005171/0.1159, allocations: 32.92 kB / 401.7 MB, free: 13.86 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002971/0.1189, allocations: 2.557 MB / 404.3 MB, free: 11.09 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000381/0.1193, allocations: 0.736 MB / 405 MB, free: 10.33 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.802e-05/0.1193, allocations: 25.89 kB / 405 MB, free: 10.31 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.568e-05/0.1194, allocations: 51.42 kB / 405.1 MB, free: 10.26 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.1194, allocations: 0 / 405.1 MB, free: 10.26 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02775/0.1472, allocations: 3.773 MB / 408.8 MB, free: 6.434 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.093/8.241, allocations: 12.53 kB / 408.9 MB, free: 6.422 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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.726194679009495]