Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.ConnectionPossibilities,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",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.001437/0.001437, allocations: 103.5 kB / 17.63 MB, free: 5.344 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.001632/0.001633, allocations: 192 kB / 18.56 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2103/0.2103, allocations: 44.19 MB / 336.6 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 66.23 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1228, allocations: 60.82 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003592/0.1264, allocations: 1.839 MB / 471.2 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000447/0.1269, allocations: 147.5 kB / 471.3 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001298/0.127, allocations: 7.938 kB / 471.3 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.393e-05/0.1272, allocations: 23.73 kB / 471.4 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001775/0.1273, allocations: 55.55 kB / 471.4 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001883/0.1275, allocations: 43.89 kB / 471.5 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002128/0.1278, allocations: 183.1 kB / 471.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000199/0.128, allocations: 57.38 kB / 471.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.1281, allocations: 67.73 kB / 471.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001189/0.1282, allocations: 67.7 kB / 471.8 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.231e-05/0.1283, allocations: 16 kB / 471.9 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.296e-05/0.1283, allocations: 16 kB / 471.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.906e-05/0.1284, allocations: 39.83 kB / 471.9 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.165e-05/0.1285, allocations: 83.67 kB / 472 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002116/0.1287, allocations: 179.6 kB / 472.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1287, allocations: 0 / 472.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1287, allocations: 0 / 472.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.886e-06/0.1287, allocations: 0 / 472.2 MB, free: 11.43 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0006281/0.1293, allocations: 447.3 kB / 472.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.1294, allocations: 12.02 kB / 472.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.436e-05/0.1295, allocations: 54.73 kB / 472.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.426e-05/0.1295, allocations: 20.66 kB / 472.7 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/0.1297, allocations: 204.2 kB / 472.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.1298, allocations: 16.64 kB / 472.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.599e-05/0.1298, allocations: 20.28 kB / 472.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002812/0.1301, allocations: 166.2 kB / 473.1 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.1301, allocations: 3.938 kB / 473.1 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.804e-05/0.1301, allocations: 8 kB / 473.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.1301, allocations: 8 kB / 473.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001638/0.1303, allocations: 87.89 kB / 473.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008474/0.1312, allocations: 0.619 MB / 473.8 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002091/0.1314, allocations: 129.1 kB / 473.9 MB, free: 9.473 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.805e-05/0.1315, allocations: 53.7 kB / 474 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.083e-05/0.1315, allocations: 4.125 kB / 474 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.477e-05/0.1315, allocations: 38.56 kB / 474 MB, free: 9.363 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.403e-06/0.1315, allocations: 3.938 kB / 474 MB, free: 9.359 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008222/0.1324, allocations: 377.2 kB / 474.4 MB, free: 8.941 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.215e-05/0.1324, allocations: 85.11 kB / 474.5 MB, free: 8.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.1326, allocations: 131.7 kB / 474.6 MB, free: 8.699 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.1326, allocations: 29.7 kB / 474.6 MB, free: 8.664 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.716e-05/0.1327, allocations: 128 kB / 474.8 MB, free: 8.535 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.476e-05/0.1327, allocations: 59.19 kB / 474.8 MB, free: 8.477 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.281e-05/0.1328, allocations: 37.7 kB / 474.9 MB, free: 8.434 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.1329, allocations: 322.8 kB / 475.2 MB, free: 8.109 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.601e-05/0.133, allocations: 39.98 kB / 475.2 MB, free: 8.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.1331, allocations: 110.1 kB / 475.3 MB, free: 7.934 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001754/0.1333, allocations: 148.5 kB / 475.5 MB, free: 7.758 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.1333, allocations: 0 / 475.5 MB, free: 7.758 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003717/0.1337, allocations: 230.8 kB / 475.7 MB, free: 7.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.1337, allocations: 8 kB / 475.7 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.1337, allocations: 3.938 kB / 475.7 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002242/0.1339, allocations: 53.94 kB / 475.8 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.1341, allocations: 31.98 kB / 475.8 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002261/0.1364, allocations: 2.99 MB / 478.8 MB, free: 4.152 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.154e-05/0.1365, allocations: 19.78 kB / 478.8 MB, free: 4.133 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.1365, allocations: 12 kB / 478.8 MB, free: 4.121 MB / 350.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 (20): * Single equations (assignments): 18 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001119/0.1366, allocations: 129.9 kB / 478.9 MB, free: 3.984 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.203e-05/0.1367, allocations: 8.375 kB / 478.9 MB, free: 3.977 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.681e-05/0.1367, allocations: 20.66 kB / 479 MB, free: 3.953 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.1367, allocations: 4 kB / 479 MB, free: 3.949 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.1367, allocations: 0 / 479 MB, free: 3.949 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.1367, allocations: 3.984 kB / 479 MB, free: 3.945 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002929/0.137, allocations: 237.4 kB / 479.2 MB, free: 3.664 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.137, allocations: 0 / 479.2 MB, free: 3.664 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001532/0.1372, allocations: 31.92 kB / 479.2 MB, free: 3.633 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001355/0.1374, allocations: 53.72 kB / 479.3 MB, free: 3.574 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.1374, allocations: 7.938 kB / 479.3 MB, free: 3.566 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002071/0.1395, allocations: 2.966 MB / 482.3 MB, free: 332 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1395, allocations: 4.156 kB / 482.3 MB, free: 328 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004297/0.1399, allocations: 376.3 kB / 482.6 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.176e-05/0.14, allocations: 93.02 kB / 482.7 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.019e-05/0.14, allocations: 8.062 kB / 482.7 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.1401, allocations: 3.938 kB / 482.7 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.539e-05/0.1402, allocations: 19.98 kB / 482.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.1402, allocations: 7.984 kB / 482.8 MB, free: 15.78 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.117e-05/0.1402, allocations: 106.9 kB / 482.9 MB, free: 15.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1402, allocations: 0 / 482.9 MB, free: 15.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004638/0.1407, allocations: 47.91 kB / 482.9 MB, free: 15.63 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (inertia1.w,inertia2.phi,inertia3.phi,inertia3.w,inertia4.phi,inertia4.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 (10): * Single equations (assignments): 8 * 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,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.000706/0.1414, allocations: 0.9111 MB / 483.8 MB, free: 14.69 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005621/0.142, allocations: 349.7 kB / 484.2 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.142, allocations: 0 / 484.2 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003171/0.1423, allocations: 293.2 kB / 484.5 MB, free: 14.01 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004945/0.1428, allocations: 24.36 kB / 484.5 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002612/0.1455, allocations: 2.32 MB / 486.8 MB, free: 11.51 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/0.1458, allocations: 0.7281 MB / 487.5 MB, free: 10.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.426e-05/0.1459, allocations: 13.42 kB / 487.5 MB, free: 10.74 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.846e-05/0.1459, allocations: 35.44 kB / 487.6 MB, free: 10.71 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1459, allocations: 0 / 487.6 MB, free: 10.71 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02702/0.173, allocations: 3.668 MB / 491.2 MB, free: 7.199 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.348/9.521, allocations: 23.25 kB / 491.3 MB, free: 7.18 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities.fmu > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches