Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 102.6 kB / 16.4 MB, free: 6.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 192.2 kB / 17.34 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.48/1.48, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2676/0.2676, allocations: 43.54 MB / 314.1 MB, free: 440 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002113/0.002113, allocations: 77.45 kB / 441.3 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1246, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.003431/0.1281, allocations: 1.663 MB / 0.489 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003264/0.1285, allocations: 107.6 kB / 0.4891 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.07e-05/0.1285, allocations: 4 kB / 0.4891 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.975e-05/0.1286, allocations: 15.8 kB / 0.4891 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001298/0.1288, allocations: 39.69 kB / 0.4892 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001547/0.1289, allocations: 23.97 kB / 0.4892 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001855/0.1291, allocations: 127.4 kB / 0.4893 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000178/0.1293, allocations: 41.08 kB / 0.4893 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.056e-05/0.1294, allocations: 43.86 kB / 0.4894 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.1295, allocations: 47.78 kB / 0.4894 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.427e-05/0.1296, allocations: 11.94 kB / 0.4894 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.646e-05/0.1296, allocations: 12 kB / 0.4895 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.442e-05/0.1296, allocations: 27.91 kB / 0.4895 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.514e-05/0.1297, allocations: 55.73 kB / 0.4895 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000219/0.1299, allocations: 115.5 kB / 0.4896 GB, free: 9.965 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.725e-06/0.1299, allocations: 7.984 kB / 0.4897 GB, free: 9.957 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.13, allocations: 0 / 0.4897 GB, free: 9.957 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.13, allocations: 0 / 0.4897 GB, free: 9.957 MB / 382.1 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.000634/0.1306, allocations: 411.2 kB / 0.49 GB, free: 9.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.1307, allocations: 15.83 kB / 0.4901 GB, free: 9.484 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.432e-05/0.1307, allocations: 42.73 kB / 0.4901 GB, free: 9.434 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.143e-05/0.1308, allocations: 16.84 kB / 0.4901 GB, free: 9.418 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002399/0.131, allocations: 188.2 kB / 0.4903 GB, free: 9.195 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.131, allocations: 12.59 kB / 0.4903 GB, free: 9.184 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.048e-05/0.1311, allocations: 16.33 kB / 0.4903 GB, free: 9.168 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002696/0.1314, allocations: 137.5 kB / 0.4905 GB, free: 9.023 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/0.1314, allocations: 11.94 kB / 0.4905 GB, free: 9.012 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.1314, allocations: 0 / 0.4905 GB, free: 9.012 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.1314, allocations: 4 kB / 0.4905 GB, free: 9.008 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001244/0.1316, allocations: 63.94 kB / 0.4905 GB, free: 8.945 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008757/0.1324, allocations: 0.5489 MB / 0.4911 GB, free: 8.336 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001458/0.1326, allocations: 81.14 kB / 0.4911 GB, free: 8.238 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.448e-05/0.1327, allocations: 33.83 kB / 0.4912 GB, free: 8.199 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.007e-06/0.1327, allocations: 3.938 kB / 0.4912 GB, free: 8.195 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.1327, allocations: 38.56 kB / 0.4912 GB, free: 8.148 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.333e-06/0.1327, allocations: 0 / 0.4912 GB, free: 8.148 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006604/0.1334, allocations: 297.4 kB / 0.4915 GB, free: 7.809 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.422e-05/0.1335, allocations: 85.11 kB / 0.4916 GB, free: 7.707 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.1336, allocations: 113.8 kB / 0.4917 GB, free: 7.586 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.1336, allocations: 29.7 kB / 0.4917 GB, free: 7.551 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.514e-05/0.1337, allocations: 123.7 kB / 0.4918 GB, free: 7.426 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.402e-05/0.1338, allocations: 39.72 kB / 0.4919 GB, free: 7.387 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.009e-05/0.1338, allocations: 29.7 kB / 0.4919 GB, free: 7.352 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.134, allocations: 322.8 kB / 0.4922 GB, free: 7.027 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.865e-05/0.134, allocations: 27.92 kB / 0.4922 GB, free: 7 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.984e-05/0.1341, allocations: 80.58 kB / 0.4923 GB, free: 6.891 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000154/0.1343, allocations: 124.5 kB / 0.4924 GB, free: 6.738 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1343, allocations: 0 / 0.4924 GB, free: 6.738 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000309/0.1346, allocations: 175 kB / 0.4926 GB, free: 6.555 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.1346, allocations: 8.25 kB / 0.4926 GB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.1347, allocations: 7.938 kB / 0.4926 GB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001945/0.1349, allocations: 34.17 kB / 0.4927 GB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.551e-05/0.135, allocations: 23.88 kB / 0.4927 GB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002452/0.1374, allocations: 2.738 MB / 0.4953 GB, free: 3.461 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.191e-05/0.1375, allocations: 11.89 kB / 0.4954 GB, free: 3.449 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.509e-05/0.1375, allocations: 12 kB / 0.4954 GB, free: 3.438 MB / 382.1 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 0.0001335/0.1377, allocations: 125.9 kB / 0.4955 GB, free: 3.305 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.007e-05/0.1377, allocations: 11.89 kB / 0.4955 GB, free: 3.293 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.573e-05/0.1378, allocations: 19.89 kB / 0.4955 GB, free: 3.266 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1378, allocations: 0 / 0.4955 GB, free: 3.266 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1378, allocations: 0 / 0.4955 GB, free: 3.266 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.1378, allocations: 4 kB / 0.4955 GB, free: 3.262 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002822/0.1381, allocations: 197.6 kB / 0.4957 GB, free: 3.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1381, allocations: 0 / 0.4957 GB, free: 3.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.172e-05/0.1382, allocations: 15.94 kB / 0.4957 GB, free: 3.004 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00012/0.1383, allocations: 45.64 kB / 0.4958 GB, free: 2.953 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.1383, allocations: 0 / 0.4958 GB, free: 2.953 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002234/0.1406, allocations: 2.738 MB / 0.4984 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.1406, allocations: 0 / 0.4984 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003693/0.141, allocations: 312.5 kB / 0.4987 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.068e-05/0.1411, allocations: 85.06 kB / 0.4988 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.155e-05/0.1411, allocations: 3.938 kB / 0.4988 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.1412, allocations: 4 kB / 0.4988 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.404e-05/0.1412, allocations: 12.03 kB / 0.4988 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.1413, allocations: 4 kB / 0.4988 GB, free: 15.48 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.866e-05/0.1413, allocations: 91.7 kB / 0.4989 GB, free: 15.39 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1413, allocations: 0 / 0.4989 GB, free: 15.39 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003698/0.1417, allocations: 35.94 kB / 0.499 GB, free: 15.36 MB / 398.1 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.0006962/0.1424, allocations: 0.8344 MB / 0.4998 GB, free: 14.49 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000543/0.143, allocations: 305.6 kB / 0.5001 GB, free: 14.16 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.594e-05/0.1431, allocations: 0 / 0.5001 GB, free: 14.16 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002929/0.1434, allocations: 257.5 kB / 0.5003 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005468/0.1439, allocations: 44.31 kB / 0.5004 GB, free: 13.85 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002424/0.1464, allocations: 1.964 MB / 0.5023 GB, free: 11.73 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003966/0.1468, allocations: 0.7162 MB / 0.503 GB, free: 10.99 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.75e-05/0.1468, allocations: 4.891 kB / 0.503 GB, free: 10.98 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.761e-05/0.1469, allocations: 35.36 kB / 0.503 GB, free: 10.95 MB / 398.1 MB Notification: Performance of SimCode: time 8.92e-07/0.1469, allocations: 0 / 0.503 GB, free: 10.95 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03373/0.1806, allocations: 3.01 MB / 0.506 GB, free: 7.934 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.53/10.71, allocations: 12 kB / 0.506 GB, free: 7.922 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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.0008 ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions3.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches