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.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.001745/0.001745, allocations: 124.5 kB / 17.79 MB, free: 5.227 MB / 14.72 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.002174/0.002174, allocations: 211.2 kB / 20.75 MB, free: 2.27 MB / 14.72 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 1.553/1.553, allocations: 230.6 MB / 254.1 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] 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.235/0.235, allocations: 44.9 MB / 355.1 MB, free: 12.35 MB / 286.1 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.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"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002834/0.002834, allocations: 75.83 kB / 499.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1387, allocations: 65.42 MB / 0.5517 GB, free: 10.19 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003378/0.1421, allocations: 1.873 MB / 0.5536 GB, free: 8.301 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004026/0.1425, allocations: 151.4 kB / 0.5537 GB, free: 8.152 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.335e-05/0.1426, allocations: 4 kB / 0.5537 GB, free: 8.148 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 6.956e-05/0.1427, allocations: 19.8 kB / 0.5537 GB, free: 8.129 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000148/0.1428, allocations: 55.5 kB / 0.5538 GB, free: 8.074 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001567/0.143, allocations: 43.94 kB / 0.5538 GB, free: 8.031 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002265/0.1432, allocations: 187.1 kB / 0.554 GB, free: 7.848 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001674/0.1434, allocations: 41.53 kB / 0.554 GB, free: 7.809 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001138/0.1435, allocations: 71.78 kB / 0.5541 GB, free: 7.738 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001444/0.1436, allocations: 67.7 kB / 0.5542 GB, free: 7.672 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.774e-05/0.1436, allocations: 12 kB / 0.5542 GB, free: 7.66 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.06e-05/0.1437, allocations: 16 kB / 0.5542 GB, free: 7.645 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.317e-05/0.1437, allocations: 39.84 kB / 0.5542 GB, free: 7.605 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001084/0.1438, allocations: 83.61 kB / 0.5543 GB, free: 7.523 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002606/0.1441, allocations: 183.5 kB / 0.5545 GB, free: 7.344 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1441, allocations: 7.938 kB / 0.5545 GB, free: 7.336 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1441, allocations: 0 / 0.5545 GB, free: 7.336 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.1441, allocations: 4 kB / 0.5545 GB, free: 7.332 MB / 414.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.0007153/0.1448, allocations: 455 kB / 0.5549 GB, free: 6.832 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.1449, allocations: 8.031 kB / 0.555 GB, free: 6.824 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.237e-05/0.1449, allocations: 50.73 kB / 0.555 GB, free: 6.766 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.219e-05/0.145, allocations: 16.84 kB / 0.555 GB, free: 6.75 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002435/0.1452, allocations: 208.1 kB / 0.5552 GB, free: 6.508 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/0.1452, allocations: 16.7 kB / 0.5552 GB, free: 6.492 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.146e-05/0.1453, allocations: 20.33 kB / 0.5553 GB, free: 6.473 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003016/0.1456, allocations: 170.1 kB / 0.5554 GB, free: 6.297 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/0.1456, allocations: 7.938 kB / 0.5554 GB, free: 6.289 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.776e-05/0.1456, allocations: 4 kB / 0.5554 GB, free: 6.285 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.1456, allocations: 4 kB / 0.5554 GB, free: 6.281 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001722/0.1458, allocations: 94.06 kB / 0.5555 GB, free: 6.191 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008979/0.1467, allocations: 0.6151 MB / 0.5561 GB, free: 5.516 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002431/0.1469, allocations: 125.1 kB / 0.5562 GB, free: 5.375 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.244e-05/0.147, allocations: 45.7 kB / 0.5563 GB, free: 5.324 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.39e-05/0.147, allocations: 4 kB / 0.5563 GB, free: 5.32 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/0.1471, allocations: 38.56 kB / 0.5563 GB, free: 5.273 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.242e-06/0.1471, allocations: 0 / 0.5563 GB, free: 5.273 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008927/0.148, allocations: 377.5 kB / 0.5567 GB, free: 4.855 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.825e-05/0.148, allocations: 85.09 kB / 0.5568 GB, free: 4.754 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.1482, allocations: 126.1 kB / 0.5569 GB, free: 4.617 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.1482, allocations: 29.64 kB / 0.5569 GB, free: 4.582 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.606e-05/0.1483, allocations: 132.2 kB / 0.557 GB, free: 4.449 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.229e-05/0.1483, allocations: 59.47 kB / 0.5571 GB, free: 4.391 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.448e-05/0.1484, allocations: 49.7 kB / 0.5571 GB, free: 4.336 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.1485, allocations: 318.8 kB / 0.5574 GB, free: 4.016 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.11e-05/0.1486, allocations: 36.36 kB / 0.5575 GB, free: 3.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001205/0.1487, allocations: 100.6 kB / 0.5576 GB, free: 3.852 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002135/0.1489, allocations: 164.4 kB / 0.5577 GB, free: 3.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.149, allocations: 0 / 0.5577 GB, free: 3.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003968/0.1493, allocations: 218.9 kB / 0.5579 GB, free: 3.434 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.1494, allocations: 4 kB / 0.5579 GB, free: 3.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.689e-06/0.1494, allocations: 4.25 kB / 0.5579 GB, free: 3.426 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00026/0.1496, allocations: 53.69 kB / 0.558 GB, free: 3.367 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/0.1498, allocations: 35.92 kB / 0.558 GB, free: 3.332 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002663/0.1524, allocations: 2.986 MB / 0.561 GB, free: 64 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.1525, allocations: 19.92 kB / 0.561 GB, free: 44 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.1526, allocations: 8 kB / 0.561 GB, free: 36 kB / 414.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.000152/0.1527, allocations: 137.8 kB / 0.5611 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.676e-05/0.1528, allocations: 15.91 kB / 0.5611 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.724e-05/0.1528, allocations: 16.66 kB / 0.5611 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.1528, allocations: 7.984 kB / 0.5611 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.1528, allocations: 3.938 kB / 0.5612 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1528, allocations: 0 / 0.5612 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003392/0.1532, allocations: 233.6 kB / 0.5614 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.1532, allocations: 0 / 0.5614 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001653/0.1533, allocations: 27.98 kB / 0.5614 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001546/0.1535, allocations: 49.69 kB / 0.5614 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.1535, allocations: 7.938 kB / 0.5615 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002542/0.156, allocations: 2.986 MB / 0.5644 GB, free: 12.22 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.156, allocations: 4 kB / 0.5644 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004649/0.1565, allocations: 372.4 kB / 0.5647 GB, free: 11.83 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.437e-05/0.1566, allocations: 85.06 kB / 0.5648 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.1566, allocations: 8.141 kB / 0.5648 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.1567, allocations: 7.875 kB / 0.5648 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.038e-05/0.1567, allocations: 15.98 kB / 0.5648 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.827e-06/0.1567, allocations: 4 kB / 0.5648 GB, free: 11.69 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.467e-05/0.1568, allocations: 100.4 kB / 0.5649 GB, free: 11.59 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1568, allocations: 0 / 0.5649 GB, free: 11.59 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004669/0.1573, allocations: 51.89 kB / 0.565 GB, free: 11.54 MB / 430.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.0007901/0.1581, allocations: 0.9075 MB / 0.5659 GB, free: 10.61 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006226/0.1587, allocations: 353.2 kB / 0.5662 GB, free: 10.23 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1587, allocations: 0 / 0.5662 GB, free: 10.23 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003584/0.1591, allocations: 277.9 kB / 0.5665 GB, free: 9.938 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005016/0.1596, allocations: 38.11 kB / 0.5665 GB, free: 9.906 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00284/0.1624, allocations: 2.323 MB / 0.5688 GB, free: 7.426 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003826/0.1628, allocations: 0.7242 MB / 0.5695 GB, free: 6.676 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.906e-05/0.1628, allocations: 17.41 kB / 0.5695 GB, free: 6.66 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.273e-05/0.1629, allocations: 47.36 kB / 0.5696 GB, free: 6.613 MB / 430.1 MB Notification: Performance of SimCode: time 5.82e-07/0.1629, allocations: 3.938 kB / 0.5696 GB, free: 6.609 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03559/0.1985, allocations: 3.804 MB / 0.5733 GB, free: 2.98 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.11, allocations: 4.062 kB / 0.5733 GB, free: 2.977 MB / 430.1 MB " [Timeout remaining time 649] (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.000219912 ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities.fmu > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 52.5] 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) [Timeout 660] "Error: Could not read variable inertia1.phi in file ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv. Warning: Get data of variable inertia1.phi from file ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv failed! Error: Could not read variable inertia4.w in file ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv. Warning: Get data of variable inertia4.w from file ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.338678007014096]