Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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.001138/0.001138, allocations: 76.06 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008112/0.0008112, allocations: 149.1 kB / 23.93 MB, free: 0.6328 MB / 18.57 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 0.8537/0.8537, allocations: 173.4 MB / 200.4 MB, free: 9.465 MB / 186.7 MB " [Timeout remaining time 179] 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.WhyArrows,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.WhyArrows,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 318.4 MB, free: 6.402 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.135e-05/1.272e-05, allocations: 2.281 kB / 318.4 MB, free: 6.398 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.002248/0.002261, allocations: 2.115 MB / 320.5 MB, free: 4.266 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000404/0.002665, allocations: 199.3 kB / 320.7 MB, free: 4.07 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.737e-05/0.002742, allocations: 4 kB / 320.7 MB, free: 4.066 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.694e-05/0.002809, allocations: 35.64 kB / 320.8 MB, free: 4.031 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001257/0.002935, allocations: 71.23 kB / 320.8 MB, free: 3.961 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001494/0.003084, allocations: 51.92 kB / 320.9 MB, free: 3.91 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001804/0.003265, allocations: 246.8 kB / 321.1 MB, free: 3.668 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001695/0.003434, allocations: 86.94 kB / 321.2 MB, free: 3.582 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001248/0.003559, allocations: 131.8 kB / 321.3 MB, free: 3.453 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.003661, allocations: 79.77 kB / 321.4 MB, free: 3.375 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.182e-05/0.003693, allocations: 20 kB / 321.4 MB, free: 3.355 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.147e-05/0.003714, allocations: 20 kB / 321.5 MB, free: 3.336 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.195e-05/0.003746, allocations: 47.83 kB / 321.5 MB, free: 3.289 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.325e-05/0.0038, allocations: 75.83 kB / 321.6 MB, free: 3.215 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002049/0.004005, allocations: 267.1 kB / 321.8 MB, free: 2.953 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.004006, allocations: 0 / 321.8 MB, free: 2.953 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.004007, allocations: 4 kB / 321.8 MB, free: 2.949 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.149e-06/0.004012, allocations: 4 kB / 321.8 MB, free: 2.945 MB / 282.7 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.0004654/0.004478, allocations: 433.8 kB / 322.3 MB, free: 2.488 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.004514, allocations: 8.922 kB / 322.3 MB, free: 2.48 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.021e-05/0.004554, allocations: 58.73 kB / 322.3 MB, free: 2.414 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.373e-05/0.004588, allocations: 28.8 kB / 322.4 MB, free: 2.387 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.004735, allocations: 161.5 kB / 322.5 MB, free: 2.203 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.00475, allocations: 16.88 kB / 322.5 MB, free: 2.188 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.033e-05/0.004781, allocations: 24.38 kB / 322.6 MB, free: 2.164 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00025/0.005031, allocations: 232 kB / 322.8 MB, free: 1.918 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.005046, allocations: 4.141 kB / 322.8 MB, free: 1.914 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.053e-05/0.005066, allocations: 16.31 kB / 322.8 MB, free: 1.898 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.005075, allocations: 8.125 kB / 322.8 MB, free: 1.891 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001582/0.005233, allocations: 131.3 kB / 322.9 MB, free: 1.766 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000696/0.005929, allocations: 0.7745 MB / 323.7 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000163/0.006092, allocations: 147.7 kB / 323.9 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002655/0.006358, allocations: 62.86 kB / 323.9 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.098e-05/0.006369, allocations: 4 kB / 323.9 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.006389, allocations: 38.48 kB / 324 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 1.243e-06/0.00639, allocations: 0 / 324 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002711/0.006661, allocations: 173.4 kB / 324.1 MB, free: 476 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.791e-05/0.006709, allocations: 106.8 kB / 324.2 MB, free: 344 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.006842, allocations: 198.3 kB / 324.4 MB, free: 136 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.006855, allocations: 33.7 kB / 324.5 MB, free: 96 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.87e-05/0.006944, allocations: 164.2 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.697e-05/0.006981, allocations: 63.44 kB / 324.7 MB, free: 15.87 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.514e-05/0.007036, allocations: 53.98 kB / 324.7 MB, free: 15.8 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.507e-05/0.007121, allocations: 326.8 kB / 325.1 MB, free: 15.48 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.024e-05/0.007181, allocations: 52.47 kB / 325.1 MB, free: 15.43 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/0.007284, allocations: 159.5 kB / 325.3 MB, free: 15.22 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001806/0.007465, allocations: 225.5 kB / 325.5 MB, free: 14.95 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.007468, allocations: 0 / 325.5 MB, free: 14.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002305/0.007698, allocations: 253.3 kB / 325.7 MB, free: 14.7 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.007711, allocations: 8 kB / 325.7 MB, free: 14.69 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.007716, allocations: 3.938 kB / 325.7 MB, free: 14.69 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.00773, allocations: 11.94 kB / 325.8 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.007847, allocations: 64.33 kB / 325.8 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.007854, allocations: 11.94 kB / 325.8 MB, free: 14.6 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.805e-05/0.007922, allocations: 23.84 kB / 325.9 MB, free: 14.58 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.007934, allocations: 16.78 kB / 325.9 MB, free: 14.56 MB / 298.7 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 8.031e-05/0.008015, allocations: 137.7 kB / 326 MB, free: 14.42 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.639e-05/0.008051, allocations: 15.91 kB / 326 MB, free: 14.4 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.044e-05/0.008081, allocations: 25.45 kB / 326 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.008085, allocations: 7.938 kB / 326.1 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.008091, allocations: 0 / 326.1 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.008095, allocations: 0 / 326.1 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003273/0.008422, allocations: 391.9 kB / 326.4 MB, free: 13.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.008424, allocations: 0 / 326.4 MB, free: 13.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.874e-05/0.008522, allocations: 39.92 kB / 326.5 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.008525, allocations: 0 / 326.5 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.008536, allocations: 8 kB / 326.5 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.008539, allocations: 4 kB / 326.5 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.00854, allocations: 4 kB / 326.5 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002438/0.008784, allocations: 373.1 kB / 326.9 MB, free: 13.49 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.884e-05/0.008803, allocations: 19.89 kB / 326.9 MB, free: 13.47 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.00882, allocations: 8.094 kB / 326.9 MB, free: 13.46 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.727e-05/0.008887, allocations: 8 kB / 326.9 MB, free: 13.45 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.038e-05/0.008907, allocations: 11.98 kB / 326.9 MB, free: 13.44 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.008912, allocations: 4 kB / 326.9 MB, free: 13.44 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.633e-05/0.008989, allocations: 140.4 kB / 327 MB, free: 13.3 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008989, allocations: 0 / 327 MB, free: 13.3 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000237/0.009226, allocations: 55.88 kB / 327.1 MB, free: 13.25 MB / 298.7 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.0004023/0.009628, allocations: 0.9047 MB / 328 MB, free: 12.3 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001847/0.009813, allocations: 142.3 kB / 328.1 MB, free: 12.17 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.009815, allocations: 4 kB / 328.1 MB, free: 12.16 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.754e-05/0.009863, allocations: 47.92 kB / 328.2 MB, free: 12.12 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000318/0.01018, allocations: 35.8 kB / 328.2 MB, free: 12.08 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001848/0.01203, allocations: 2.466 MB / 330.7 MB, free: 9.41 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002894/0.01232, allocations: 129.1 kB / 330.8 MB, free: 9.266 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.679e-05/0.01237, allocations: 17.95 kB / 330.8 MB, free: 9.246 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.304e-05/0.01245, allocations: 68.47 kB / 330.9 MB, free: 9.18 MB / 298.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01245, allocations: 0 / 330.9 MB, free: 9.18 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01826/0.03071, allocations: 4.458 MB / 335.4 MB, free: 4.863 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.738/6.769, allocations: 8.984 kB / 335.4 MB, free: 4.859 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Mechanics_Translational_Examples_WhyArrows.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 8.450748765841126]