Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0008633/0.0008633, allocations: 91.67 kB / 20.68 MB, free: 3.871 MB / 18.57 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.0009217/0.0009217, allocations: 166 kB / 23.95 MB, free: 0.5977 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8735/0.8735, allocations: 177.1 MB / 204.3 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.WhyArrows,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 324.6 MB, free: 15.97 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.862e-05/2.038e-05, allocations: 4.531 kB / 324.6 MB, free: 15.96 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.002148/0.002169, allocations: 2.142 MB / 326.7 MB, free: 13.81 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003418/0.00251, allocations: 195.2 kB / 326.9 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.738e-05/0.002578, allocations: 4 kB / 326.9 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 6.23e-05/0.00264, allocations: 39.64 kB / 326.9 MB, free: 13.58 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001224/0.002762, allocations: 67.36 kB / 327 MB, free: 13.51 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001338/0.002896, allocations: 47.92 kB / 327 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001641/0.00306, allocations: 242.8 kB / 327.3 MB, free: 13.23 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001488/0.003209, allocations: 74.92 kB / 327.4 MB, free: 13.16 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001233/0.003332, allocations: 147.7 kB / 327.5 MB, free: 13.01 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.354e-05/0.003426, allocations: 67.78 kB / 327.6 MB, free: 12.95 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.955e-05/0.003455, allocations: 24 kB / 327.6 MB, free: 12.92 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.248e-05/0.003478, allocations: 20 kB / 327.6 MB, free: 12.9 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.203e-05/0.00351, allocations: 51.83 kB / 327.7 MB, free: 12.85 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.147e-05/0.003561, allocations: 75.83 kB / 327.7 MB, free: 12.78 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002031/0.003765, allocations: 263.1 kB / 328 MB, free: 12.52 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.003768, allocations: 0 / 328 MB, free: 12.52 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.00377, allocations: 3.984 kB / 328 MB, free: 12.52 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.003775, allocations: 0 / 328 MB, free: 12.52 MB / 298.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.0004855/0.00426, allocations: 445 kB / 328.4 MB, free: 12.05 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.004295, allocations: 12.03 kB / 328.4 MB, free: 12.04 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.216e-05/0.004337, allocations: 62.72 kB / 328.5 MB, free: 11.97 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.626e-05/0.004373, allocations: 24.8 kB / 328.5 MB, free: 11.95 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/0.004527, allocations: 161.5 kB / 328.7 MB, free: 11.76 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.004542, allocations: 20.81 kB / 328.7 MB, free: 11.74 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.781e-05/0.00457, allocations: 24.38 kB / 328.7 MB, free: 11.72 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002481/0.004818, allocations: 232.1 kB / 329 MB, free: 11.47 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.00483, allocations: 192 / 329 MB, free: 11.47 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.004845, allocations: 8.375 kB / 329 MB, free: 11.46 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.004854, allocations: 12.12 kB / 329 MB, free: 11.45 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001589/0.005013, allocations: 142.6 kB / 329.1 MB, free: 11.32 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007027/0.005715, allocations: 0.7707 MB / 329.9 MB, free: 10.49 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001616/0.005877, allocations: 155.9 kB / 330 MB, free: 10.31 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.352e-05/0.00594, allocations: 58.56 kB / 330.1 MB, free: 10.24 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.052e-05/0.005951, allocations: 4 kB / 330.1 MB, free: 10.24 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/0.005971, allocations: 38.55 kB / 330.1 MB, free: 10.19 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.382e-06/0.005972, allocations: 7.938 kB / 330.1 MB, free: 10.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002583/0.00623, allocations: 169.5 kB / 330.3 MB, free: 10.01 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/0.006275, allocations: 110.8 kB / 330.4 MB, free: 9.879 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.006411, allocations: 205.1 kB / 330.6 MB, free: 9.672 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.006425, allocations: 25.7 kB / 330.6 MB, free: 9.641 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.88e-05/0.006503, allocations: 164.2 kB / 330.8 MB, free: 9.477 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.328e-05/0.006537, allocations: 67.42 kB / 330.9 MB, free: 9.41 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.119e-05/0.006588, allocations: 53.95 kB / 330.9 MB, free: 9.348 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.744e-05/0.006675, allocations: 330.8 kB / 331.2 MB, free: 9.016 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.472e-05/0.00673, allocations: 40.55 kB / 331.3 MB, free: 8.977 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.928e-05/0.006829, allocations: 163.5 kB / 331.4 MB, free: 8.77 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000177/0.007006, allocations: 229.5 kB / 331.7 MB, free: 8.496 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.007009, allocations: 0 / 331.7 MB, free: 8.496 MB / 298.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002203/0.007229, allocations: 241.9 kB / 331.9 MB, free: 8.254 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.007242, allocations: 8.422 kB / 331.9 MB, free: 8.246 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.007248, allocations: 8 kB / 331.9 MB, free: 8.238 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.007262, allocations: 11.94 kB / 331.9 MB, free: 8.227 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.007378, allocations: 59.92 kB / 332 MB, free: 8.168 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.007385, allocations: 4 kB / 332 MB, free: 8.164 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.109e-05/0.007456, allocations: 31.77 kB / 332 MB, free: 8.133 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.007466, allocations: 12 kB / 332 MB, free: 8.121 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 7.851e-05/0.007545, allocations: 145.7 kB / 332.2 MB, free: 7.969 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.865e-05/0.007584, allocations: 19.86 kB / 332.2 MB, free: 7.949 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.183e-05/0.007615, allocations: 21.47 kB / 332.2 MB, free: 7.93 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.00762, allocations: 11.94 kB / 332.2 MB, free: 7.918 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.007626, allocations: 3.984 kB / 332.2 MB, free: 7.914 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.007629, allocations: 0 / 332.2 MB, free: 7.914 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003273/0.007956, allocations: 376 kB / 332.6 MB, free: 7.488 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.007958, allocations: 0 / 332.6 MB, free: 7.488 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/0.008059, allocations: 35.98 kB / 332.6 MB, free: 7.453 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.00806, allocations: 0 / 332.6 MB, free: 7.453 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.008073, allocations: 15.98 kB / 332.7 MB, free: 7.438 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.257e-06/0.008076, allocations: 3.938 kB / 332.7 MB, free: 7.434 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.008078, allocations: 8.094 kB / 332.7 MB, free: 7.426 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002452/0.008323, allocations: 369.4 kB / 333 MB, free: 7.039 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.003e-05/0.008343, allocations: 23.8 kB / 333 MB, free: 7.016 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.008358, allocations: 4 kB / 333.1 MB, free: 7.012 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.899e-05/0.008427, allocations: 7.938 kB / 333.1 MB, free: 7.004 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.129e-05/0.008449, allocations: 16.02 kB / 333.1 MB, free: 6.988 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.008453, allocations: 7.938 kB / 333.1 MB, free: 6.98 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.231e-05/0.008536, allocations: 143.4 kB / 333.2 MB, free: 6.84 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008536, allocations: 0 / 333.2 MB, free: 6.84 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002269/0.008762, allocations: 63.83 kB / 333.3 MB, free: 6.777 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.0003868/0.009149, allocations: 0.9002 MB / 334.2 MB, free: 5.844 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001676/0.009317, allocations: 131.8 kB / 334.3 MB, free: 5.715 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.009318, allocations: 0 / 334.3 MB, free: 5.715 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.673e-05/0.009365, allocations: 52.8 kB / 334.4 MB, free: 5.664 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003183/0.009683, allocations: 39.8 kB / 334.4 MB, free: 5.625 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001715/0.0114, allocations: 2.465 MB / 336.9 MB, free: 2.961 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.874e-05/0.01148, allocations: 125.2 kB / 337 MB, free: 2.82 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.839e-05/0.01154, allocations: 21.94 kB / 337 MB, free: 2.793 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.513e-05/0.0116, allocations: 56.48 kB / 337.1 MB, free: 2.738 MB / 298.7 MB Notification: Performance of SimCode: time 7.62e-07/0.0116, allocations: 0 / 337.1 MB, free: 2.738 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02016/0.03176, allocations: 4.473 MB / 341.5 MB, free: 14.4 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.722/6.753, allocations: 2.812 kB / 341.5 MB, free: 14.4 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Mechanics_Translational_Examples_WhyArrows.fmu > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.470394816249609]