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.001817/0.001817, allocations: 107.5 kB / 20.44 MB, free: 1.066 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.002086/0.002086, allocations: 187.7 kB / 23.7 MB, free: 4.191 MB / 14.72 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 1.39/1.39, allocations: 225.7 MB / 252.5 MB, free: 12.83 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001549/0.001549, allocations: 43.94 kB / 370.4 MB, free: 9.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2396/0.2411, allocations: 52.19 MB / 422.6 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003383/0.2445, allocations: 2.114 MB / 424.7 MB, free: 12.24 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005281/0.245, allocations: 207.2 kB / 424.9 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001196/0.2452, allocations: 7.938 kB / 424.9 MB, free: 12.03 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.874e-05/0.2453, allocations: 35.64 kB / 424.9 MB, free: 12 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001882/0.2454, allocations: 67.42 kB / 425 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002109/0.2457, allocations: 51.94 kB / 425 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003096/0.246, allocations: 234.9 kB / 425.3 MB, free: 11.65 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002256/0.2462, allocations: 75 kB / 425.3 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001409/0.2463, allocations: 95.7 kB / 425.4 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001863/0.2465, allocations: 87.55 kB / 425.5 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.969e-05/0.2466, allocations: 20 kB / 425.5 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.834e-05/0.2466, allocations: 20 kB / 425.6 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.438e-05/0.2467, allocations: 47.84 kB / 425.6 MB, free: 11.31 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.2468, allocations: 91.59 kB / 425.7 MB, free: 11.22 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003444/0.2471, allocations: 267.3 kB / 426 MB, free: 10.96 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2471, allocations: 0 / 426 MB, free: 10.96 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2471, allocations: 4 kB / 426 MB, free: 10.96 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.2471, allocations: 0 / 426 MB, free: 10.96 MB / 334.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.0007296/0.2479, allocations: 437.8 kB / 426.4 MB, free: 10.5 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.2479, allocations: 12.03 kB / 426.4 MB, free: 10.48 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.279e-05/0.248, allocations: 62.72 kB / 426.5 MB, free: 10.41 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.068e-05/0.248, allocations: 28.73 kB / 426.5 MB, free: 10.39 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002309/0.2483, allocations: 158.2 kB / 426.6 MB, free: 10.21 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/0.2483, allocations: 16.88 kB / 426.7 MB, free: 10.19 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.312e-05/0.2483, allocations: 24.38 kB / 426.7 MB, free: 10.17 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003768/0.2487, allocations: 228 kB / 426.9 MB, free: 9.926 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.41e-05/0.2487, allocations: 7.938 kB / 426.9 MB, free: 9.918 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.169e-05/0.2487, allocations: 8 kB / 426.9 MB, free: 9.91 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/0.2488, allocations: 8 kB / 426.9 MB, free: 9.902 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002412/0.249, allocations: 139.8 kB / 427.1 MB, free: 9.766 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001101/0.2501, allocations: 0.7669 MB / 427.8 MB, free: 8.941 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002406/0.2503, allocations: 151.9 kB / 428 MB, free: 8.766 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.831e-05/0.2504, allocations: 70.58 kB / 428.1 MB, free: 8.688 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.083e-05/0.2504, allocations: 3.938 kB / 428.1 MB, free: 8.684 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.342e-05/0.2505, allocations: 46.48 kB / 428.1 MB, free: 8.629 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.492e-06/0.2505, allocations: 4 kB / 428.1 MB, free: 8.625 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.000377/0.2509, allocations: 165.5 kB / 428.3 MB, free: 8.457 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.237e-05/0.2509, allocations: 114.7 kB / 428.4 MB, free: 8.32 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002002/0.2511, allocations: 199.1 kB / 428.6 MB, free: 8.117 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.2512, allocations: 25.7 kB / 428.6 MB, free: 8.086 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.2513, allocations: 164.2 kB / 428.8 MB, free: 7.922 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.647e-05/0.2513, allocations: 67.42 kB / 428.8 MB, free: 7.855 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.314e-05/0.2514, allocations: 45.98 kB / 428.9 MB, free: 7.801 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001922/0.2516, allocations: 330.8 kB / 429.2 MB, free: 7.469 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.779e-05/0.2517, allocations: 48.53 kB / 429.2 MB, free: 7.422 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001808/0.2519, allocations: 155.6 kB / 429.4 MB, free: 7.223 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002935/0.2522, allocations: 226.1 kB / 429.6 MB, free: 6.953 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2522, allocations: 0 / 429.6 MB, free: 6.953 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003835/0.2526, allocations: 257.5 kB / 429.9 MB, free: 6.695 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.2526, allocations: 4 kB / 429.9 MB, free: 6.691 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.2526, allocations: 8 kB / 429.9 MB, free: 6.684 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/0.2526, allocations: 4 kB / 429.9 MB, free: 6.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002133/0.2528, allocations: 63.91 kB / 429.9 MB, free: 6.617 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.017e-05/0.2528, allocations: 11.94 kB / 430 MB, free: 6.605 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00015/0.253, allocations: 27.78 kB / 430 MB, free: 6.578 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.559e-05/0.253, allocations: 8 kB / 430 MB, free: 6.57 MB / 334.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.0001251/0.2531, allocations: 141.7 kB / 430.1 MB, free: 6.422 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.418e-05/0.2532, allocations: 24.03 kB / 430.2 MB, free: 6.398 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.571e-05/0.2533, allocations: 29.38 kB / 430.2 MB, free: 6.371 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.2533, allocations: 4 kB / 430.2 MB, free: 6.367 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.2533, allocations: 4 kB / 430.2 MB, free: 6.363 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.2533, allocations: 0 / 430.2 MB, free: 6.363 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005364/0.2538, allocations: 372 kB / 430.6 MB, free: 5.941 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.2538, allocations: 4 kB / 430.6 MB, free: 5.938 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001832/0.254, allocations: 39.92 kB / 430.6 MB, free: 5.898 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.254, allocations: 4 kB / 430.6 MB, free: 5.895 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.254, allocations: 0 / 430.6 MB, free: 5.895 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/0.254, allocations: 4 kB / 430.6 MB, free: 5.891 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.254, allocations: 4.094 kB / 430.6 MB, free: 5.887 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004059/0.2544, allocations: 393 kB / 431 MB, free: 5.477 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.582e-05/0.2545, allocations: 19.88 kB / 431 MB, free: 5.457 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.01e-05/0.2545, allocations: 8 kB / 431 MB, free: 5.449 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/0.2546, allocations: 0 / 431 MB, free: 5.449 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.889e-05/0.2546, allocations: 19.92 kB / 431 MB, free: 5.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.806e-06/0.2547, allocations: 7.938 kB / 431 MB, free: 5.422 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000125/0.2548, allocations: 140.4 kB / 431.2 MB, free: 5.285 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2548, allocations: 0 / 431.2 MB, free: 5.285 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003548/0.2551, allocations: 51.89 kB / 431.2 MB, free: 5.234 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.0006959/0.2558, allocations: 0.9238 MB / 432.2 MB, free: 4.273 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002492/0.2561, allocations: 123.8 kB / 432.3 MB, free: 4.152 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2561, allocations: 0 / 432.3 MB, free: 4.152 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.07e-05/0.2562, allocations: 56.84 kB / 432.3 MB, free: 4.098 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005001/0.2567, allocations: 43.22 kB / 432.4 MB, free: 4.059 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002944/0.2596, allocations: 2.55 MB / 434.9 MB, free: 1.312 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001283/0.2597, allocations: 121.2 kB / 435 MB, free: 1.176 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.97e-05/0.2598, allocations: 21.95 kB / 435.1 MB, free: 1.152 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.495e-05/0.2599, allocations: 59.41 kB / 435.1 MB, free: 1.094 MB / 334.1 MB Notification: Performance of SimCode: time 9.11e-07/0.2599, allocations: 4 kB / 435.1 MB, free: 1.09 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03255/0.2925, allocations: 4.324 MB / 439.5 MB, free: 12.91 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.75, allocations: 6.812 kB / 439.5 MB, free: 12.91 MB / 350.1 MB " [Timeout remaining time 648] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","/var/lib/jenkins1/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: 14.159618278965354]