Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.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.000876/0.000876, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0008531/0.0008531, allocations: 170 kB / 23.95 MB, free: 0.6055 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.9254/0.9254, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2403/0.2403, allocations: 34.25 MB / 294.9 MB, free: 0.7188 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 442.2 MB, free: 1.688 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.794e-05/2.93e-05, allocations: 4.812 kB / 442.2 MB, free: 1.684 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.1764/0.1764, allocations: 2.671 MB / 444.8 MB, free: 43 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009123/0.1773, allocations: 0.7634 MB / 445.6 MB, free: 42.69 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001379/0.1774, allocations: 20.81 kB / 445.6 MB, free: 42.68 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001406/0.1776, allocations: 62.05 kB / 445.7 MB, free: 42.64 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001402/0.1777, allocations: 132.8 kB / 445.8 MB, free: 42.55 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002603/0.178, allocations: 121.3 kB / 445.9 MB, free: 42.54 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002313/0.1782, allocations: 472.9 kB / 446.4 MB, free: 42.39 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000185/0.1784, allocations: 121.7 kB / 446.5 MB, free: 42.37 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002294/0.1786, allocations: 266.7 kB / 446.8 MB, free: 42.34 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.1787, allocations: 135.5 kB / 446.9 MB, free: 42.3 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.517e-05/0.1788, allocations: 35.97 kB / 446.9 MB, free: 42.3 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.159e-05/0.1788, allocations: 38.75 kB / 447 MB, free: 42.3 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.552e-05/0.1789, allocations: 90.81 kB / 447.1 MB, free: 42.24 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.866e-05/0.1789, allocations: 140.6 kB / 447.2 MB, free: 42.18 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002828/0.1792, allocations: 463.2 kB / 447.6 MB, free: 42 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.1792, allocations: 3.375 kB / 447.7 MB, free: 42 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1792, allocations: 0 / 447.7 MB, free: 42 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.082e-06/0.1792, allocations: 3.406 kB / 447.7 MB, free: 42 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0005616/0.1798, allocations: 0.6004 MB / 448.3 MB, free: 41.55 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.1798, allocations: 8.75 kB / 448.3 MB, free: 41.55 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.8e-05/0.1799, allocations: 76.34 kB / 448.3 MB, free: 41.49 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001767/0.1801, allocations: 74.64 kB / 448.4 MB, free: 41.46 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002637/0.1803, allocations: 241 kB / 448.6 MB, free: 41.26 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.1803, allocations: 30.03 kB / 448.7 MB, free: 41.25 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.226e-05/0.1804, allocations: 38.16 kB / 448.7 MB, free: 41.24 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003752/0.1808, allocations: 376.2 kB / 449.1 MB, free: 41.06 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.1808, allocations: 14.06 kB / 449.1 MB, free: 41.05 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.072e-05/0.1808, allocations: 19.06 kB / 449.1 MB, free: 41.04 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.1808, allocations: 15.5 kB / 449.1 MB, free: 41.04 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002752/0.1811, allocations: 248.5 kB / 449.4 MB, free: 40.96 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000872/0.182, allocations: 0.9777 MB / 450.3 MB, free: 40.29 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003108/0.1823, allocations: 330.5 kB / 450.7 MB, free: 40.13 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001457/0.1824, allocations: 155.2 kB / 450.8 MB, free: 40.06 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.1824, allocations: 5.812 kB / 450.8 MB, free: 40.06 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.634e-05/0.1825, allocations: 41.44 kB / 450.9 MB, free: 40.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=39): time 1.793e-06/0.1825, allocations: 0 / 450.9 MB, free: 40.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=57): time 0.001898/0.1844, allocations: 2.016 MB / 452.9 MB, free: 38.71 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.604e-05/0.1844, allocations: 108.8 kB / 453 MB, free: 38.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001424/0.1845, allocations: 250.3 kB / 453.2 MB, free: 38.45 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.1845, allocations: 36.48 kB / 453.3 MB, free: 38.41 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.645e-05/0.1846, allocations: 187.2 kB / 453.5 MB, free: 38.25 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.657e-05/0.1847, allocations: 195.9 kB / 453.6 MB, free: 38.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.643e-05/0.1848, allocations: 87.19 kB / 453.7 MB, free: 38.04 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.826e-05/0.1848, allocations: 352.3 kB / 454.1 MB, free: 37.71 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.185, allocations: 131.4 kB / 454.2 MB, free: 37.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001704/0.1851, allocations: 238.4 kB / 454.4 MB, free: 37.51 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003402/0.1855, allocations: 394.1 kB / 454.8 MB, free: 37.28 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1855, allocations: 0 / 454.8 MB, free: 37.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0005347/0.186, allocations: 0.5549 MB / 455.4 MB, free: 37.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.186, allocations: 5.719 kB / 455.4 MB, free: 37.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.186, allocations: 4.625 kB / 455.4 MB, free: 37.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002163/0.1862, allocations: 124.6 kB / 455.5 MB, free: 36.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002067/0.1865, allocations: 99.73 kB / 455.6 MB, free: 36.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001993/0.1884, allocations: 4.872 MB / 460.5 MB, free: 32.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001196/0.1886, allocations: 19.81 kB / 460.5 MB, free: 32.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.053e-05/0.1886, allocations: 26.12 kB / 460.5 MB, free: 32.38 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001318/0.1887, allocations: 161.9 kB / 460.7 MB, free: 32.23 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.216e-05/0.1888, allocations: 43.98 kB / 460.7 MB, free: 32.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.471e-05/0.1888, allocations: 52.38 kB / 460.8 MB, free: 32.17 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.1888, allocations: 6.781 kB / 460.8 MB, free: 32.17 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.618e-05/0.1888, allocations: 3.156 kB / 460.8 MB, free: 32.17 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.1889, allocations: 6.531 kB / 460.8 MB, free: 32.17 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/0.1899, allocations: 1.231 MB / 462 MB, free: 31.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.1899, allocations: 3.234 kB / 462 MB, free: 31.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002128/0.1901, allocations: 96.22 kB / 462.1 MB, free: 31.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001486/0.1903, allocations: 97.53 kB / 462.2 MB, free: 31.34 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.754e-05/0.1903, allocations: 12.62 kB / 462.2 MB, free: 31.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001261/0.1916, allocations: 4.101 MB / 466.3 MB, free: 27.37 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.1916, allocations: 192 / 466.3 MB, free: 27.37 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006828/0.1923, allocations: 0.927 MB / 467.3 MB, free: 26.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.57e-05/0.1923, allocations: 33.31 kB / 467.3 MB, free: 26.78 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.204e-05/0.1923, allocations: 11.38 kB / 467.3 MB, free: 26.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/0.1924, allocations: 20.89 kB / 467.3 MB, free: 26.76 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.744e-05/0.1925, allocations: 50.58 kB / 467.4 MB, free: 26.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.1925, allocations: 17.88 kB / 467.4 MB, free: 26.74 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.14e-05/0.1926, allocations: 179.9 kB / 467.6 MB, free: 26.63 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1926, allocations: 0 / 467.6 MB, free: 26.63 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004364/0.193, allocations: 120.8 kB / 467.7 MB, free: 26.61 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.w) * 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 (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007766/0.1938, allocations: 1.465 MB / 469.1 MB, free: 25.52 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007143/0.1945, allocations: 0.7685 MB / 469.9 MB, free: 25.04 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1945, allocations: 4 kB / 469.9 MB, free: 25.03 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003297/0.1949, allocations: 0.5592 MB / 470.5 MB, free: 24.62 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004472/0.1953, allocations: 62.7 kB / 470.5 MB, free: 24.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002929/0.1982, allocations: 4.059 MB / 474.6 MB, free: 21.88 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001306/0.1984, allocations: 226.1 kB / 474.8 MB, free: 21.79 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.305e-05/0.1985, allocations: 38.56 kB / 474.9 MB, free: 21.78 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/0.1986, allocations: 128.9 kB / 475 MB, free: 21.69 MB / 410.7 MB Notification: Performance of SimCode: time 1.042e-06/0.1986, allocations: 0 / 475 MB, free: 21.69 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03471/0.2333, allocations: 9.346 MB / 484.3 MB, free: 20 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.303/7.536, allocations: 17.53 kB / 484.3 MB, free: 20 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039984 ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_Directions.fmu > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable J2.phi in file ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv. Warning: Get data of variable J2.phi from file ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv failed! Error: Could not read variable J2.w in file ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv. Warning: Get data of variable J2.w from file ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv failed! Error: Could not read variable J5.w in file ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv. Warning: Get data of variable J5.w from file ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.704495212063193]