Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.0008451/0.0008451, 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.0009507/0.0009507, allocations: 170.3 kB / 23.95 MB, free: 0.6094 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.9052/0.9052, allocations: 177.1 MB / 204.3 MB, free: 5.75 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.2437/0.2437, 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.Directions3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.334e-06/2.334e-06, allocations: 4 kB / 442.2 MB, free: 1.684 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.74e-05/1.974e-05, allocations: 2.281 kB / 442.2 MB, free: 1.68 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.00214/0.00216, allocations: 1.627 MB / 443.8 MB, free: 44 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1806/0.1827, allocations: 99.95 kB / 443.9 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.733e-05/0.1828, allocations: 0 / 443.9 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.448e-05/0.1829, allocations: 19.78 kB / 443.9 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001045/0.183, allocations: 32.09 kB / 443.9 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001439/0.1831, allocations: 30.06 kB / 444 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001124/0.1832, allocations: 134.5 kB / 444.1 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.1834, allocations: 26.45 kB / 444.1 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/0.1835, allocations: 74.42 kB / 444.2 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.527e-05/0.1835, allocations: 35.77 kB / 444.2 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.627e-05/0.1836, allocations: 10.47 kB / 444.2 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.622e-05/0.1836, allocations: 13.34 kB / 444.2 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.57e-05/0.1836, allocations: 23.62 kB / 444.3 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.313e-05/0.1837, allocations: 37.28 kB / 444.3 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.1838, allocations: 130.3 kB / 444.4 MB, free: 43.21 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/0.1838, allocations: 3.469 kB / 444.4 MB, free: 43.21 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.1838, allocations: 0.7188 kB / 444.4 MB, free: 43.21 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.1838, allocations: 0.5625 kB / 444.4 MB, free: 43.21 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.0004269/0.1843, allocations: 332.8 kB / 444.8 MB, free: 42.93 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.512e-05/0.1843, allocations: 14.75 kB / 444.8 MB, free: 42.92 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.767e-05/0.1844, allocations: 42.89 kB / 444.8 MB, free: 42.88 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.912e-05/0.1844, allocations: 12.89 kB / 444.8 MB, free: 42.88 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001608/0.1846, allocations: 135.7 kB / 445 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.1846, allocations: 10.42 kB / 445 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.237e-05/0.1846, allocations: 13.09 kB / 445 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002024/0.1848, allocations: 127.5 kB / 445.1 MB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/0.1848, allocations: 12.81 kB / 445.1 MB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.1848, allocations: 4.312 kB / 445.1 MB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.1848, allocations: 6.812 kB / 445.1 MB, free: 42.69 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.927e-05/0.1849, allocations: 60.09 kB / 445.2 MB, free: 42.69 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000499/0.1854, allocations: 470.8 kB / 445.7 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.1855, allocations: 94.2 kB / 445.7 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.868e-05/0.1856, allocations: 21.78 kB / 445.8 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.378e-05/0.1856, allocations: 3 kB / 445.8 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.564e-05/0.1856, allocations: 36.72 kB / 445.8 MB, free: 42.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.193e-06/0.1856, allocations: 0 / 445.8 MB, free: 42.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003917/0.186, allocations: 149.1 kB / 446 MB, free: 42.19 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.469e-05/0.186, allocations: 82.27 kB / 446 MB, free: 42.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.927e-05/0.1861, allocations: 122.4 kB / 446.2 MB, free: 42 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.152e-06/0.1861, allocations: 32.02 kB / 446.2 MB, free: 41.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.11e-05/0.1861, allocations: 112.5 kB / 446.3 MB, free: 41.86 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.569e-05/0.1861, allocations: 33.38 kB / 446.3 MB, free: 41.84 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.957e-05/0.1862, allocations: 32.38 kB / 446.4 MB, free: 41.82 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.018e-05/0.1862, allocations: 329 kB / 446.7 MB, free: 41.51 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.738e-05/0.1862, allocations: 18.47 kB / 446.7 MB, free: 41.51 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.201e-05/0.1863, allocations: 91.31 kB / 446.8 MB, free: 41.43 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.735e-05/0.1863, allocations: 122.7 kB / 446.9 MB, free: 41.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1863, allocations: 0 / 446.9 MB, free: 41.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001621/0.1865, allocations: 168.5 kB / 447.1 MB, free: 41.27 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.1865, allocations: 5.844 kB / 447.1 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.1865, allocations: 10.5 kB / 447.1 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001302/0.1866, allocations: 36.97 kB / 447.1 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.61e-05/0.1867, allocations: 24.27 kB / 447.1 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008278/0.1875, allocations: 2.523 MB / 449.7 MB, free: 38.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.546e-05/0.1876, allocations: 14.7 kB / 449.7 MB, free: 38.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.71e-06/0.1876, allocations: 5.906 kB / 449.7 MB, free: 38.76 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.745e-05/0.1876, allocations: 130.7 kB / 449.8 MB, free: 38.63 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.255e-05/0.1877, allocations: 2.594 kB / 449.8 MB, free: 38.63 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.597e-05/0.1877, allocations: 14.2 kB / 449.8 MB, free: 38.62 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.1877, allocations: 0 / 449.8 MB, free: 38.62 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1877, allocations: 6.812 kB / 449.8 MB, free: 38.62 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.1877, allocations: 0 / 449.8 MB, free: 38.62 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001457/0.1878, allocations: 169.9 kB / 450 MB, free: 38.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.1878, allocations: 1 kB / 450 MB, free: 38.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.99e-05/0.1879, allocations: 16 kB / 450 MB, free: 38.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.213e-05/0.188, allocations: 36.42 kB / 450.1 MB, free: 38.42 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.188, allocations: 6.75 kB / 450.1 MB, free: 38.42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006814/0.1887, allocations: 2.518 MB / 452.6 MB, free: 35.87 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1887, allocations: 4.906 kB / 452.6 MB, free: 35.87 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001627/0.1888, allocations: 304.2 kB / 452.9 MB, free: 35.61 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.342e-06/0.1888, allocations: 6.453 kB / 452.9 MB, free: 35.61 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.756e-06/0.1888, allocations: 6.844 kB / 452.9 MB, free: 35.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.885e-05/0.1889, allocations: 0 / 452.9 MB, free: 35.61 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.308e-05/0.1889, allocations: 5.984 kB / 452.9 MB, free: 35.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.1889, allocations: 6.219 kB / 452.9 MB, free: 35.61 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.02e-05/0.189, allocations: 103.3 kB / 453 MB, free: 35.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.189, allocations: 0 / 453 MB, free: 35.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002449/0.1892, allocations: 41.02 kB / 453.1 MB, free: 35.51 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.0002686/0.1895, allocations: 0.8317 MB / 453.9 MB, free: 34.72 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003055/0.1898, allocations: 301.8 kB / 454.2 MB, free: 34.47 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1898, allocations: 0 / 454.2 MB, free: 34.47 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.081e-05/0.1899, allocations: 251.7 kB / 454.4 MB, free: 34.24 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003574/0.1902, allocations: 35.5 kB / 454.5 MB, free: 34.23 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.1913, allocations: 1.89 MB / 456.3 MB, free: 32.55 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.789e-05/0.1914, allocations: 94.33 kB / 456.4 MB, free: 32.48 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.217e-05/0.1914, allocations: 7.891 kB / 456.4 MB, free: 32.47 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.066e-05/0.1915, allocations: 33.5 kB / 456.5 MB, free: 32.45 MB / 410.7 MB Notification: Performance of SimCode: time 8.32e-07/0.1915, allocations: 0 / 456.5 MB, free: 32.45 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02167/0.2131, allocations: 3.779 MB / 460.3 MB, free: 31.36 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.311/7.524, allocations: 14.73 kB / 460.3 MB, free: 31.35 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_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_4_1_0_ModelicaTest_Rotational_ForUsersGuide_Directions3.fmu > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv. Warning: Get data of variable J1.phi from file ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv failed! Error: Could not read variable J3.phi in file ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv. Warning: Get data of variable J3.phi from file ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.630102121271193]