Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.000898/0.000898, allocations: 79.7 kB / 20.67 MB, free: 3.883 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.0008095/0.0008095, 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.9282/0.9282, allocations: 177.1 MB / 204.3 MB, free: 5.707 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2365/0.2365, allocations: 32.79 MB / 293.5 MB, free: 1.219 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 3.938 kB / 439.6 MB, free: 4.262 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.737e-05/1.871e-05, allocations: 4.531 kB / 439.6 MB, free: 4.258 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.002572/0.002591, allocations: 2.657 MB / 442.2 MB, free: 1.582 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001036/0.003627, allocations: 0.7672 MB / 443 MB, free: 0.8086 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001332/0.00376, allocations: 15.88 kB / 443 MB, free: 0.793 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001445/0.003905, allocations: 67.31 kB / 443.1 MB, free: 0.7266 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000164/0.004069, allocations: 134.8 kB / 443.2 MB, free: 0.5938 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002697/0.004338, allocations: 119.7 kB / 443.3 MB, free: 488 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003093/0.004647, allocations: 470 kB / 443.8 MB, free: 16 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1674/0.1721, allocations: 120.5 kB / 443.9 MB, free: 43.28 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004561/0.1725, allocations: 265.9 kB / 444.2 MB, free: 43.28 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001442/0.1727, allocations: 143.2 kB / 444.3 MB, free: 43.28 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.973e-05/0.1727, allocations: 35.03 kB / 444.3 MB, free: 43.28 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.849e-05/0.1728, allocations: 42.91 kB / 444.4 MB, free: 43.28 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.768e-05/0.1728, allocations: 83.31 kB / 444.5 MB, free: 43.28 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.989e-05/0.1729, allocations: 140.9 kB / 444.6 MB, free: 43.28 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004413/0.1733, allocations: 459.3 kB / 445.1 MB, free: 43.26 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1733, allocations: 2.062 kB / 445.1 MB, free: 43.26 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.1733, allocations: 0 / 445.1 MB, free: 43.26 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.625e-06/0.1734, allocations: 2.406 kB / 445.1 MB, free: 43.26 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.0006267/0.174, allocations: 0.6094 MB / 445.7 MB, free: 42.87 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.174, allocations: 13.41 kB / 445.7 MB, free: 42.87 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.917e-05/0.1741, allocations: 75.56 kB / 445.8 MB, free: 42.83 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000173/0.1742, allocations: 70.69 kB / 445.8 MB, free: 42.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002848/0.1745, allocations: 235.8 kB / 446.1 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.1746, allocations: 27.56 kB / 446.1 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.146e-05/0.1746, allocations: 39.59 kB / 446.1 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003667/0.175, allocations: 384.6 kB / 446.5 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.175, allocations: 5.141 kB / 446.5 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.251e-05/0.175, allocations: 21.28 kB / 446.5 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.175, allocations: 12.47 kB / 446.5 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002708/0.1753, allocations: 244.2 kB / 446.8 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008446/0.1761, allocations: 0.9772 MB / 447.8 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003139/0.1764, allocations: 331.7 kB / 448.1 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000149/0.1766, allocations: 158.1 kB / 448.2 MB, free: 41.96 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/0.1766, allocations: 5.625 kB / 448.2 MB, free: 41.96 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.67e-05/0.1766, allocations: 37.5 kB / 448.3 MB, free: 41.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=39): time 2.865e-06/0.1766, allocations: 3.469 kB / 448.3 MB, free: 41.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=57): time 0.001839/0.1785, allocations: 2.015 MB / 450.3 MB, free: 40.65 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.959e-05/0.1785, allocations: 108 kB / 450.4 MB, free: 40.53 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.1786, allocations: 250.4 kB / 450.6 MB, free: 40.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.1786, allocations: 36.52 kB / 450.7 MB, free: 40.35 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.409e-05/0.1787, allocations: 187 kB / 450.9 MB, free: 40.19 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.851e-05/0.1788, allocations: 203.5 kB / 451.1 MB, free: 40.03 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.671e-05/0.1788, allocations: 94.48 kB / 451.1 MB, free: 39.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.062e-05/0.1789, allocations: 348.4 kB / 451.5 MB, free: 39.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.179, allocations: 129.8 kB / 451.6 MB, free: 39.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001623/0.1792, allocations: 233.2 kB / 451.8 MB, free: 39.45 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003223/0.1795, allocations: 396 kB / 452.2 MB, free: 39.23 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1795, allocations: 0 / 452.2 MB, free: 39.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0005096/0.18, allocations: 0.5579 MB / 452.8 MB, free: 39.01 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.18, allocations: 8.219 kB / 452.8 MB, free: 39.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.18, allocations: 3.531 kB / 452.8 MB, free: 39.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002079/0.1802, allocations: 122.4 kB / 452.9 MB, free: 38.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001944/0.1804, allocations: 99.42 kB / 453 MB, free: 38.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00175/0.1822, allocations: 4.875 MB / 457.9 MB, free: 34.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.1823, allocations: 20.62 kB / 457.9 MB, free: 34.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.658e-05/0.1823, allocations: 18.91 kB / 457.9 MB, free: 34.4 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.0001016/0.1824, allocations: 178.6 kB / 458.1 MB, free: 34.25 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.645e-05/0.1824, allocations: 38.77 kB / 458.1 MB, free: 34.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.817e-05/0.1825, allocations: 47.81 kB / 458.2 MB, free: 34.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1825, allocations: 10.42 kB / 458.2 MB, free: 34.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.1825, allocations: 3.469 kB / 458.2 MB, free: 34.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.1825, allocations: 3.328 kB / 458.2 MB, free: 34.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009726/0.1835, allocations: 1.232 MB / 459.4 MB, free: 33.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.1835, allocations: 3.25 kB / 459.4 MB, free: 33.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001941/0.1837, allocations: 93.61 kB / 459.5 MB, free: 33.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001349/0.1838, allocations: 105.3 kB / 459.6 MB, free: 33.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.1838, allocations: 15.33 kB / 459.6 MB, free: 33.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001176/0.185, allocations: 4.096 MB / 463.7 MB, free: 29.46 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.185, allocations: 7.25 kB / 463.8 MB, free: 29.45 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006227/0.1856, allocations: 0.9104 MB / 464.7 MB, free: 28.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.57e-05/0.1856, allocations: 44.12 kB / 464.7 MB, free: 28.87 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.999e-05/0.1857, allocations: 11.31 kB / 464.7 MB, free: 28.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.1858, allocations: 21.98 kB / 464.7 MB, free: 28.85 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.778e-05/0.1859, allocations: 43.88 kB / 464.8 MB, free: 28.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.1859, allocations: 20.28 kB / 464.8 MB, free: 28.84 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.96e-05/0.186, allocations: 175 kB / 465 MB, free: 28.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.186, allocations: 0 / 465 MB, free: 28.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003934/0.1863, allocations: 123.6 kB / 465.1 MB, free: 28.71 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.0007639/0.1871, allocations: 1.469 MB / 466.6 MB, free: 27.61 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006435/0.1878, allocations: 0.7575 MB / 467.3 MB, free: 27.13 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1878, allocations: 3.938 kB / 467.3 MB, free: 27.12 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003185/0.1881, allocations: 0.5611 MB / 467.9 MB, free: 26.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004234/0.1885, allocations: 66.84 kB / 467.9 MB, free: 26.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002895/0.1914, allocations: 4.067 MB / 472 MB, free: 23.98 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001287/0.1915, allocations: 217.4 kB / 472.2 MB, free: 23.89 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.635e-05/0.1916, allocations: 31.92 kB / 472.3 MB, free: 23.89 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001136/0.1917, allocations: 133.5 kB / 472.4 MB, free: 23.79 MB / 410.7 MB Notification: Performance of SimCode: time 8.22e-07/0.1917, allocations: 0 / 472.4 MB, free: 23.79 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02372/0.2154, allocations: 9.357 MB / 481.7 MB, free: 22.11 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.425/7.64, allocations: 3.031 kB / 481.7 MB, free: 22.11 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.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_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions.fmu > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv. Warning: Get data of variable J2.phi from file ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv failed! Error: Could not read variable J2.w in file ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv. Warning: Get data of variable J2.w from file ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv failed! Error: Could not read variable J5.w in file ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv. Warning: Get data of variable J5.w from file ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.7787324488163]