Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000871/0.000871, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001311/0.001311, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9162/0.9162, allocations: 177 MB / 204.1 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2551/0.2551, allocations: 34.23 MB / 294.8 MB, free: 0.6875 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 442.1 MB, free: 1.605 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.356e-05/2.572e-05, allocations: 5.094 kB / 442.1 MB, free: 1.602 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.1858/0.1859, allocations: 1.618 MB / 443.8 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004775/0.1863, allocations: 106.1 kB / 443.9 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.284e-05/0.1864, allocations: 5.531 kB / 443.9 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.919e-05/0.1864, allocations: 16.89 kB / 443.9 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000107/0.1865, allocations: 35.78 kB / 443.9 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001432/0.1867, allocations: 26.55 kB / 443.9 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001375/0.1868, allocations: 132.8 kB / 444.1 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001649/0.187, allocations: 26.72 kB / 444.1 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.1871, allocations: 69.33 kB / 444.2 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.706e-05/0.1872, allocations: 42.41 kB / 444.2 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.702e-05/0.1872, allocations: 13.56 kB / 444.2 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.5e-05/0.1872, allocations: 9 kB / 444.2 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.35e-05/0.1872, allocations: 24.66 kB / 444.3 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.834e-05/0.1873, allocations: 41.92 kB / 444.3 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001497/0.1874, allocations: 125.7 kB / 444.4 MB, free: 43.17 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.1874, allocations: 0.5625 kB / 444.4 MB, free: 43.17 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1874, allocations: 0 / 444.4 MB, free: 43.17 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.1874, allocations: 4.562 kB / 444.4 MB, free: 43.17 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0004088/0.1878, allocations: 332.4 kB / 444.7 MB, free: 42.88 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.1879, allocations: 9.25 kB / 444.8 MB, free: 42.88 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.248e-05/0.1879, allocations: 46.25 kB / 444.8 MB, free: 42.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.749e-05/0.188, allocations: 10.77 kB / 444.8 MB, free: 42.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/0.1881, allocations: 137.7 kB / 444.9 MB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.1881, allocations: 9.922 kB / 445 MB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.428e-05/0.1881, allocations: 15.06 kB / 445 MB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.1883, allocations: 124.7 kB / 445.1 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.1883, allocations: 9.938 kB / 445.1 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.1883, allocations: 4.312 kB / 445.1 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.1883, allocations: 7 kB / 445.1 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.387e-05/0.1884, allocations: 59.75 kB / 445.2 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004325/0.1888, allocations: 476.2 kB / 445.6 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.363e-05/0.1889, allocations: 85.59 kB / 445.7 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.655e-05/0.1889, allocations: 21.31 kB / 445.7 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.064e-05/0.1889, allocations: 2.688 kB / 445.7 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.675e-05/0.189, allocations: 48.53 kB / 445.8 MB, free: 42.19 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.393e-06/0.189, allocations: 0 / 445.8 MB, free: 42.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003523/0.1893, allocations: 145.6 kB / 445.9 MB, free: 42.13 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/0.1893, allocations: 83.67 kB / 446 MB, free: 42.04 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.19e-05/0.1894, allocations: 129 kB / 446.1 MB, free: 41.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.67e-06/0.1894, allocations: 25.7 kB / 446.2 MB, free: 41.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.58e-05/0.1894, allocations: 119.3 kB / 446.3 MB, free: 41.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.567e-05/0.1895, allocations: 32.42 kB / 446.3 MB, free: 41.78 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.931e-05/0.1895, allocations: 33.06 kB / 446.3 MB, free: 41.76 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.997e-05/0.1895, allocations: 327.3 kB / 446.7 MB, free: 41.44 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.483e-05/0.1895, allocations: 21.33 kB / 446.7 MB, free: 41.44 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.684e-05/0.1896, allocations: 85.16 kB / 446.8 MB, free: 41.36 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.937e-05/0.1897, allocations: 126.2 kB / 446.9 MB, free: 41.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.1897, allocations: 2.594 kB / 446.9 MB, free: 41.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001528/0.1898, allocations: 164.2 kB / 447.1 MB, free: 41.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.1898, allocations: 8.25 kB / 447.1 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.435e-06/0.1898, allocations: 3.438 kB / 447.1 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001384/0.19, allocations: 34.98 kB / 447.1 MB, free: 41.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.502e-05/0.19, allocations: 30.52 kB / 447.1 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008562/0.1909, allocations: 2.52 MB / 449.6 MB, free: 38.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.53e-05/0.1909, allocations: 11.05 kB / 449.7 MB, free: 38.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.1909, allocations: 9.719 kB / 449.7 MB, free: 38.69 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 5.404e-05/0.191, allocations: 127.8 kB / 449.8 MB, free: 38.57 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.198e-05/0.191, allocations: 3.656 kB / 449.8 MB, free: 38.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.672e-05/0.191, allocations: 14.19 kB / 449.8 MB, free: 38.55 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.01e-07/0.191, allocations: 0 / 449.8 MB, free: 38.55 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.191, allocations: 6.812 kB / 449.8 MB, free: 38.55 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.191, allocations: 0 / 449.8 MB, free: 38.55 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001308/0.1912, allocations: 168.1 kB / 450 MB, free: 38.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1912, allocations: 6.688 kB / 450 MB, free: 38.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.779e-05/0.1912, allocations: 18.91 kB / 450 MB, free: 38.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.13e-05/0.1913, allocations: 36.88 kB / 450 MB, free: 38.35 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.1913, allocations: 4.719 kB / 450 MB, free: 38.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006098/0.1919, allocations: 2.514 MB / 452.6 MB, free: 35.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1919, allocations: 3.25 kB / 452.6 MB, free: 35.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001417/0.1921, allocations: 306 kB / 452.9 MB, free: 35.54 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.011e-06/0.1921, allocations: 13.23 kB / 452.9 MB, free: 35.54 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.964e-06/0.1921, allocations: 2.875 kB / 452.9 MB, free: 35.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.388e-05/0.1921, allocations: 0 / 452.9 MB, free: 35.54 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.778e-05/0.1921, allocations: 14.22 kB / 452.9 MB, free: 35.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.1921, allocations: 2.875 kB / 452.9 MB, free: 35.53 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.3e-05/0.1922, allocations: 92.48 kB / 453 MB, free: 35.45 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1922, allocations: 6.938 kB / 453 MB, free: 35.45 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002175/0.1924, allocations: 38.23 kB / 453 MB, free: 35.43 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.w,J2.phi,J3.w,J4.phi) * 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 (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002426/0.1926, allocations: 0.8412 MB / 453.9 MB, free: 34.65 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002639/0.1929, allocations: 293.2 kB / 454.2 MB, free: 34.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1929, allocations: 4.125 kB / 454.2 MB, free: 34.4 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.152e-05/0.193, allocations: 253.7 kB / 454.4 MB, free: 34.17 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003436/0.1933, allocations: 28.17 kB / 454.4 MB, free: 34.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.1943, allocations: 1.88 MB / 456.3 MB, free: 32.49 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.081e-05/0.1944, allocations: 101.6 kB / 456.4 MB, free: 32.41 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.737e-05/0.1944, allocations: 6.766 kB / 456.4 MB, free: 32.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.844e-05/0.1944, allocations: 30.72 kB / 456.5 MB, free: 32.38 MB / 410.7 MB Notification: Performance of SimCode: time 6.51e-07/0.1944, allocations: 0 / 456.5 MB, free: 32.38 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02027/0.2147, allocations: 3.799 MB / 460.3 MB, free: 31.27 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.236/7.45, allocations: 2.922 kB / 460.3 MB, free: 31.27 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039984 ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions3.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable J1.phi in file ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv. Warning: Get data of variable J1.phi from file ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv failed! Error: Could not read variable J3.phi in file ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv. Warning: Get data of variable J3.phi from file ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.569663090631366]