Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0007917/0.0007917, allocations: 79.7 kB / 20.67 MB, free: 3.895 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.0009999/0.0009999, allocations: 170 kB / 23.95 MB, free: 0.6172 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.9046/0.9046, allocations: 177.1 MB / 204.2 MB, free: 5.742 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.2293/0.2293, allocations: 32.79 MB / 293.5 MB, free: 1.23 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.Directions3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 439.6 MB, free: 4.285 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.927e-05/2.089e-05, allocations: 4.531 kB / 439.6 MB, free: 4.281 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.001794/0.001815, allocations: 1.613 MB / 441.2 MB, free: 2.656 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002489/0.002064, allocations: 115.6 kB / 441.3 MB, free: 2.543 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.124e-05/0.002115, allocations: 0 / 441.3 MB, free: 2.543 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.534e-05/0.002161, allocations: 19.8 kB / 441.3 MB, free: 2.523 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.867e-05/0.002249, allocations: 35.64 kB / 441.3 MB, free: 2.488 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001024/0.002352, allocations: 27.97 kB / 441.4 MB, free: 2.461 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001078/0.00246, allocations: 127.3 kB / 441.5 MB, free: 2.336 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.002572, allocations: 33.27 kB / 441.5 MB, free: 2.305 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.359e-05/0.002656, allocations: 67.88 kB / 441.6 MB, free: 2.238 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.731e-05/0.002713, allocations: 35.89 kB / 441.6 MB, free: 2.203 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.553e-05/0.002739, allocations: 15.94 kB / 441.6 MB, free: 2.188 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.308e-05/0.002752, allocations: 8 kB / 441.7 MB, free: 2.18 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.293e-05/0.002775, allocations: 27.91 kB / 441.7 MB, free: 2.152 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.471e-05/0.002809, allocations: 39.91 kB / 441.7 MB, free: 2.113 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001325/0.002942, allocations: 127.6 kB / 441.8 MB, free: 1.988 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.002944, allocations: 4 kB / 441.8 MB, free: 1.984 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.002945, allocations: 0 / 441.8 MB, free: 1.984 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.002949, allocations: 4 kB / 441.9 MB, free: 1.98 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.0003547/0.003304, allocations: 326.2 kB / 442.2 MB, free: 1.625 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.003339, allocations: 8.031 kB / 442.2 MB, free: 1.617 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.738e-05/0.003376, allocations: 50.72 kB / 442.2 MB, free: 1.559 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.677e-05/0.003403, allocations: 16.83 kB / 442.2 MB, free: 1.543 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.003533, allocations: 133.6 kB / 442.4 MB, free: 1.387 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.003545, allocations: 8.609 kB / 442.4 MB, free: 1.379 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.485e-05/0.00357, allocations: 12.38 kB / 442.4 MB, free: 1.367 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.003726, allocations: 129.5 kB / 442.5 MB, free: 1.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.00374, allocations: 12.08 kB / 442.5 MB, free: 1.219 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.003751, allocations: 4.375 kB / 442.5 MB, free: 1.215 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.003757, allocations: 8.125 kB / 442.5 MB, free: 1.207 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.002e-05/0.003837, allocations: 55.91 kB / 442.6 MB, free: 1.152 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004821/0.004319, allocations: 479.6 kB / 443.1 MB, free: 0.6367 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001026/0.004422, allocations: 81.17 kB / 443.1 MB, free: 0.5391 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.736e-05/0.004449, allocations: 25.81 kB / 443.2 MB, free: 0.5078 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.988e-06/0.004459, allocations: 7.984 kB / 443.2 MB, free: 0.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.793e-05/0.004477, allocations: 38.5 kB / 443.2 MB, free: 464 kB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.004478, allocations: 0 / 443.2 MB, free: 464 kB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003363/0.004814, allocations: 147.2 kB / 443.4 MB, free: 304 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.371e-05/0.004848, allocations: 77.11 kB / 443.4 MB, free: 208 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.898e-05/0.004927, allocations: 129.7 kB / 443.6 MB, free: 68 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.004938, allocations: 29.7 kB / 443.6 MB, free: 32 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1594/0.1643, allocations: 116.1 kB / 443.7 MB, free: 45.79 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.328e-05/0.1643, allocations: 32.77 kB / 443.7 MB, free: 45.78 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.072e-05/0.1644, allocations: 32.17 kB / 443.8 MB, free: 45.76 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.22e-05/0.1644, allocations: 324.3 kB / 444.1 MB, free: 45.45 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.759e-05/0.1644, allocations: 21.7 kB / 444.1 MB, free: 45.45 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.26e-05/0.1645, allocations: 84.03 kB / 444.2 MB, free: 45.37 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.82e-05/0.1646, allocations: 130.3 kB / 444.3 MB, free: 45.29 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1646, allocations: 0 / 444.3 MB, free: 45.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000193/0.1648, allocations: 170.5 kB / 444.5 MB, free: 45.23 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.1648, allocations: 8.656 kB / 444.5 MB, free: 45.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.1648, allocations: 3.031 kB / 444.5 MB, free: 45.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001336/0.1649, allocations: 35.22 kB / 444.5 MB, free: 45.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.054e-05/0.165, allocations: 24.34 kB / 444.6 MB, free: 45.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007277/0.1657, allocations: 2.523 MB / 447.1 MB, free: 42.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.802e-05/0.1657, allocations: 10.59 kB / 447.1 MB, free: 42.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.1658, allocations: 15.31 kB / 447.1 MB, free: 42.77 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.822e-05/0.1658, allocations: 124.9 kB / 447.2 MB, free: 42.65 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.468e-05/0.1658, allocations: 13.11 kB / 447.2 MB, free: 42.64 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.36e-05/0.1659, allocations: 10.75 kB / 447.2 MB, free: 42.64 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.12e-07/0.1659, allocations: 2.75 kB / 447.2 MB, free: 42.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.1659, allocations: 0 / 447.2 MB, free: 42.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1659, allocations: 2.75 kB / 447.3 MB, free: 42.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000133/0.166, allocations: 171.5 kB / 447.4 MB, free: 42.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.166, allocations: 1.25 kB / 447.4 MB, free: 42.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.708e-05/0.1661, allocations: 15.19 kB / 447.4 MB, free: 42.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.549e-05/0.1661, allocations: 29.62 kB / 447.5 MB, free: 42.46 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.1661, allocations: 12.5 kB / 447.5 MB, free: 42.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005335/0.1666, allocations: 2.518 MB / 450 MB, free: 40.02 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1666, allocations: 0.875 kB / 450 MB, free: 40.02 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001355/0.1668, allocations: 308.3 kB / 450.3 MB, free: 39.79 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.43e-06/0.1668, allocations: 15.52 kB / 450.3 MB, free: 39.78 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.793e-06/0.1668, allocations: 3.312 kB / 450.3 MB, free: 39.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.414e-05/0.1669, allocations: 2.656 kB / 450.3 MB, free: 39.78 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.606e-05/0.1669, allocations: 9.438 kB / 450.3 MB, free: 39.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.1669, allocations: 6.031 kB / 450.3 MB, free: 39.77 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.113e-05/0.1669, allocations: 96.12 kB / 450.4 MB, free: 39.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1669, allocations: 0 / 450.4 MB, free: 39.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002167/0.1671, allocations: 35.44 kB / 450.5 MB, free: 39.7 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.0002237/0.1673, allocations: 0.8405 MB / 451.3 MB, free: 38.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002439/0.1676, allocations: 295.5 kB / 451.6 MB, free: 38.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.1676, allocations: 0 / 451.6 MB, free: 38.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.772e-05/0.1677, allocations: 255.6 kB / 451.8 MB, free: 38.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003577/0.168, allocations: 27.8 kB / 451.9 MB, free: 38.49 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.169, allocations: 1.885 MB / 453.8 MB, free: 36.93 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.121e-05/0.1691, allocations: 92.69 kB / 453.8 MB, free: 36.86 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.723e-05/0.1691, allocations: 7.125 kB / 453.9 MB, free: 36.86 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.77e-05/0.1692, allocations: 36.3 kB / 453.9 MB, free: 36.84 MB / 410.7 MB Notification: Performance of SimCode: time 6.31e-07/0.1692, allocations: 0 / 453.9 MB, free: 36.84 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01769/0.1869, allocations: 3.796 MB / 457.7 MB, free: 35.76 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.09/7.277, allocations: 2.875 kB / 457.7 MB, free: 35.76 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.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_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions3.fmu > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv. Warning: Get data of variable J1.phi from file ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv failed! Error: Could not read variable J3.phi in file ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv. Warning: Get data of variable J3.phi from file ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.308300626464188]