Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.ConnectionPossibilities,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_3_2_3_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.001134/0.001134, allocations: 103.6 kB / 16.27 MB, free: 5.93 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.00122/0.00122, allocations: 190.1 kB / 17.2 MB, free: 5.574 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.448/1.448, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2101/0.2101, allocations: 43.52 MB / 313.9 MB, free: 0.5156 MB / 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.002566/0.002566, allocations: 70.02 kB / 382.8 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1445, allocations: 57.78 MB / 440.6 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.002837/0.1474, allocations: 1.847 MB / 442.5 MB, free: 4.945 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003041/0.1478, allocations: 151.4 kB / 442.6 MB, free: 4.797 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.475e-05/0.1478, allocations: 4 kB / 442.6 MB, free: 4.793 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.113e-05/0.1479, allocations: 23.72 kB / 442.6 MB, free: 4.77 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000113/0.148, allocations: 51.55 kB / 442.7 MB, free: 4.719 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001357/0.1482, allocations: 35.95 kB / 442.7 MB, free: 4.684 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001386/0.1483, allocations: 183.1 kB / 442.9 MB, free: 4.504 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001746/0.1485, allocations: 61.78 kB / 443 MB, free: 4.441 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.961e-05/0.1486, allocations: 63.8 kB / 443 MB, free: 4.379 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.804e-05/0.1487, allocations: 71.64 kB / 443.1 MB, free: 4.309 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.532e-05/0.1487, allocations: 19.94 kB / 443.1 MB, free: 4.289 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.737e-05/0.1488, allocations: 12 kB / 443.1 MB, free: 4.277 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.055e-05/0.1488, allocations: 35.91 kB / 443.2 MB, free: 4.242 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.882e-05/0.1489, allocations: 91.53 kB / 443.2 MB, free: 4.152 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001566/0.149, allocations: 175.4 kB / 443.4 MB, free: 3.98 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.149, allocations: 0 / 443.4 MB, free: 3.98 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.149, allocations: 4 kB / 443.4 MB, free: 3.977 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.1491, allocations: 0 / 443.4 MB, free: 3.977 MB / 318.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.0004877/0.1495, allocations: 455.2 kB / 443.9 MB, free: 3.48 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.1496, allocations: 15.83 kB / 443.9 MB, free: 3.465 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.214e-05/0.1496, allocations: 54.73 kB / 443.9 MB, free: 3.402 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.924e-05/0.1497, allocations: 16.75 kB / 444 MB, free: 3.387 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001592/0.1498, allocations: 204.1 kB / 444.2 MB, free: 3.148 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.1499, allocations: 8.703 kB / 444.2 MB, free: 3.141 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.219e-05/0.1499, allocations: 28.36 kB / 444.2 MB, free: 3.113 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000227/0.1501, allocations: 170.1 kB / 444.4 MB, free: 2.938 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.1502, allocations: 7.844 kB / 444.4 MB, free: 2.93 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/0.1502, allocations: 11.98 kB / 444.4 MB, free: 2.918 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.1502, allocations: 4 kB / 444.4 MB, free: 2.914 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.1503, allocations: 79.95 kB / 444.5 MB, free: 2.836 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006145/0.151, allocations: 0.6189 MB / 445.1 MB, free: 2.156 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001643/0.1511, allocations: 133.1 kB / 445.2 MB, free: 2.008 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.54e-05/0.1512, allocations: 53.7 kB / 445.3 MB, free: 1.949 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.349e-05/0.1512, allocations: 0 / 445.3 MB, free: 1.949 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.1512, allocations: 42.67 kB / 445.3 MB, free: 1.898 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 9.52e-07/0.1513, allocations: 0 / 445.3 MB, free: 1.898 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006743/0.1519, allocations: 377.2 kB / 445.7 MB, free: 1.48 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/0.152, allocations: 81.11 kB / 445.7 MB, free: 1.383 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.468e-05/0.1521, allocations: 129.3 kB / 445.9 MB, free: 1.246 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.748e-06/0.1521, allocations: 33.7 kB / 445.9 MB, free: 1.207 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.773e-05/0.1521, allocations: 128 kB / 446 MB, free: 1.078 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.876e-05/0.1522, allocations: 59.19 kB / 446.1 MB, free: 1.02 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.111e-05/0.1522, allocations: 34.09 kB / 446.1 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.528e-05/0.1523, allocations: 326.8 kB / 446.4 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.175e-05/0.1523, allocations: 35.98 kB / 446.5 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.824e-05/0.1524, allocations: 110.5 kB / 446.6 MB, free: 492 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000159/0.1526, allocations: 156.5 kB / 446.7 MB, free: 304 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1526, allocations: 0 / 446.7 MB, free: 304 kB / 318.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000273/0.1529, allocations: 223.1 kB / 447 MB, free: 68 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.1529, allocations: 11.98 kB / 447 MB, free: 56 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.1529, allocations: 0 / 447 MB, free: 56 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002169/0.1531, allocations: 53.62 kB / 447 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.1533, allocations: 31.94 kB / 447.1 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002238/0.1555, allocations: 3.002 MB / 450.1 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.111e-05/0.1556, allocations: 15.84 kB / 450.1 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.353e-05/0.1556, allocations: 12 kB / 450.1 MB, free: 12.66 MB / 334.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.0001107/0.1557, allocations: 126.9 kB / 450.2 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.641e-05/0.1558, allocations: 7.906 kB / 450.2 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.281e-05/0.1558, allocations: 28.7 kB / 450.2 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.1558, allocations: 0 / 450.2 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.1558, allocations: 4 kB / 450.2 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.1558, allocations: 0 / 450.2 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002846/0.1561, allocations: 233.4 kB / 450.5 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.1561, allocations: 8 kB / 450.5 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001372/0.1563, allocations: 27.92 kB / 450.5 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001397/0.1564, allocations: 41.7 kB / 450.5 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.1565, allocations: 15.94 kB / 450.6 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002205/0.1587, allocations: 2.982 MB / 453.5 MB, free: 8.848 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1587, allocations: 0 / 453.5 MB, free: 8.848 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004157/0.1591, allocations: 377.7 kB / 453.9 MB, free: 8.457 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.496e-05/0.1592, allocations: 89.03 kB / 454 MB, free: 8.352 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.599e-05/0.1592, allocations: 12.05 kB / 454 MB, free: 8.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.1593, allocations: 3.938 kB / 454 MB, free: 8.336 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.144e-05/0.1594, allocations: 15.98 kB / 454 MB, free: 8.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.1594, allocations: 0 / 454 MB, free: 8.32 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.103e-05/0.1594, allocations: 103.3 kB / 454.1 MB, free: 8.219 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1594, allocations: 4 kB / 454.1 MB, free: 8.215 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004278/0.1599, allocations: 51.84 kB / 454.2 MB, free: 8.164 MB / 334.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.0006867/0.1606, allocations: 0.8968 MB / 455.1 MB, free: 7.23 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000551/0.1611, allocations: 349.2 kB / 455.4 MB, free: 6.863 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1611, allocations: 0 / 455.4 MB, free: 6.863 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003139/0.1615, allocations: 289.8 kB / 455.7 MB, free: 6.555 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005171/0.162, allocations: 31.86 kB / 455.7 MB, free: 6.527 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002704/0.1647, allocations: 2.332 MB / 458.1 MB, free: 4.043 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003691/0.1651, allocations: 0.7242 MB / 458.8 MB, free: 3.293 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.907e-05/0.1651, allocations: 13.42 kB / 458.8 MB, free: 3.281 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.479e-05/0.1652, allocations: 43.42 kB / 458.9 MB, free: 3.238 MB / 334.1 MB Notification: Performance of SimCode: time 9.01e-07/0.1652, allocations: 0 / 458.9 MB, free: 3.238 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02726/0.1925, allocations: 3.663 MB / 462.5 MB, free: 15.6 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.599/9.792, allocations: 13.06 kB / 462.5 MB, free: 15.59 MB / 350.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches