Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.00152/0.00152, allocations: 113 kB / 18.49 MB, free: 4.598 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.001778/0.001778, allocations: 213.4 kB / 21.45 MB, free: 1.652 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.636/1.636, allocations: 230.6 MB / 254.8 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2461/0.2461, allocations: 46.92 MB / 357.8 MB, free: 10.32 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 63.91 kB / 0.4916 GB, free: 7.961 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1369, allocations: 65.99 MB / 0.5561 GB, free: 5.84 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003409/0.1403, allocations: 1.868 MB / 0.5579 GB, free: 3.957 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004276/0.1407, allocations: 151.4 kB / 0.558 GB, free: 3.809 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.76e-05/0.1408, allocations: 7.938 kB / 0.558 GB, free: 3.801 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 7.198e-05/0.1409, allocations: 19.8 kB / 0.558 GB, free: 3.781 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001468/0.141, allocations: 51.55 kB / 0.5581 GB, free: 3.73 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001465/0.1412, allocations: 39.89 kB / 0.5581 GB, free: 3.691 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002237/0.1414, allocations: 187.2 kB / 0.5583 GB, free: 3.508 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001572/0.1415, allocations: 41.55 kB / 0.5584 GB, free: 3.469 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.1417, allocations: 75.7 kB / 0.5584 GB, free: 3.395 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000129/0.1418, allocations: 75.64 kB / 0.5585 GB, free: 3.32 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.454e-05/0.1418, allocations: 16 kB / 0.5585 GB, free: 3.305 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.697e-05/0.1418, allocations: 12 kB / 0.5585 GB, free: 3.293 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.675e-05/0.1419, allocations: 27.92 kB / 0.5585 GB, free: 3.266 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001038/0.142, allocations: 87.59 kB / 0.5586 GB, free: 3.18 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002392/0.1422, allocations: 175.3 kB / 0.5588 GB, free: 3.008 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.1422, allocations: 4 kB / 0.5588 GB, free: 3.004 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1422, allocations: 0 / 0.5588 GB, free: 3.004 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.065e-05/0.1422, allocations: 0 / 0.5588 GB, free: 3.004 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.0006797/0.1429, allocations: 463 kB / 0.5592 GB, free: 2.496 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.143, allocations: 15.97 kB / 0.5593 GB, free: 2.48 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.869e-05/0.143, allocations: 4.516 kB / 0.5593 GB, free: 2.477 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.87e-05/0.143, allocations: 50.67 kB / 0.5593 GB, free: 2.418 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.296e-05/0.1431, allocations: 20.83 kB / 0.5593 GB, free: 2.398 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002361/0.1433, allocations: 208.2 kB / 0.5595 GB, free: 2.156 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.1433, allocations: 12.7 kB / 0.5595 GB, free: 2.145 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.517e-05/0.1434, allocations: 24.33 kB / 0.5596 GB, free: 2.121 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003085/0.1437, allocations: 165.9 kB / 0.5597 GB, free: 1.949 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.1437, allocations: 4 kB / 0.5597 GB, free: 1.945 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.021e-05/0.1437, allocations: 8 kB / 0.5597 GB, free: 1.938 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.1437, allocations: 4 kB / 0.5597 GB, free: 1.934 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001774/0.1439, allocations: 94.06 kB / 0.5598 GB, free: 1.844 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009281/0.1448, allocations: 0.6112 MB / 0.5604 GB, free: 1.172 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002392/0.1451, allocations: 117.2 kB / 0.5605 GB, free: 1.039 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.994e-05/0.1452, allocations: 53.83 kB / 0.5606 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.524e-05/0.1452, allocations: 0 / 0.5606 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.1452, allocations: 42.55 kB / 0.5606 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.072e-06/0.1452, allocations: 3.938 kB / 0.5606 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.000898/0.1461, allocations: 377.3 kB / 0.561 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.003e-05/0.1462, allocations: 81.11 kB / 0.5611 GB, free: 420 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.1463, allocations: 128.4 kB / 0.5612 GB, free: 280 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.316e-05/0.1463, allocations: 29.7 kB / 0.5612 GB, free: 244 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.764e-05/0.1464, allocations: 128.2 kB / 0.5613 GB, free: 112 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.301e-05/0.1465, allocations: 63.47 kB / 0.5614 GB, free: 48 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.137e-05/0.1466, allocations: 33.72 kB / 0.5614 GB, free: 8 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001816/0.1467, allocations: 326.8 kB / 0.5617 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.698e-05/0.1468, allocations: 35.98 kB / 0.5618 GB, free: 15.64 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001214/0.1469, allocations: 104.5 kB / 0.5619 GB, free: 15.51 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002142/0.1472, allocations: 152.6 kB / 0.562 GB, free: 15.33 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1472, allocations: 4 kB / 0.562 GB, free: 15.33 MB / 430.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004068/0.1476, allocations: 226.9 kB / 0.5622 GB, free: 15.09 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.1476, allocations: 4 kB / 0.5623 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.1476, allocations: 7.938 kB / 0.5623 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002516/0.1478, allocations: 58.41 kB / 0.5623 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.148, allocations: 35.92 kB / 0.5623 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002636/0.1506, allocations: 2.999 MB / 0.5653 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.932e-05/0.1507, allocations: 15.89 kB / 0.5653 GB, free: 11.69 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.1507, allocations: 4 kB / 0.5653 GB, free: 11.68 MB / 430.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.0001423/0.1509, allocations: 139.1 kB / 0.5654 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.731e-05/0.1509, allocations: 19.84 kB / 0.5654 GB, free: 11.52 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.226e-05/0.151, allocations: 20.7 kB / 0.5655 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.151, allocations: 3.938 kB / 0.5655 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.151, allocations: 0 / 0.5655 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.151, allocations: 4 kB / 0.5655 GB, free: 11.49 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003309/0.1513, allocations: 221.6 kB / 0.5657 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.1513, allocations: 0 / 0.5657 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001646/0.1515, allocations: 27.98 kB / 0.5657 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001601/0.1517, allocations: 53.62 kB / 0.5658 GB, free: 11.14 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.974e-05/0.1517, allocations: 8 kB / 0.5658 GB, free: 11.13 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002563/0.1542, allocations: 2.99 MB / 0.5687 GB, free: 7.867 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.1542, allocations: 0 / 0.5687 GB, free: 7.867 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004606/0.1547, allocations: 368.4 kB / 0.569 GB, free: 7.484 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.204e-05/0.1548, allocations: 97.08 kB / 0.5691 GB, free: 7.371 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.017e-05/0.1548, allocations: 8 kB / 0.5691 GB, free: 7.363 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.1549, allocations: 4 kB / 0.5691 GB, free: 7.359 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.956e-05/0.1549, allocations: 15.92 kB / 0.5692 GB, free: 7.344 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.155, allocations: 4 kB / 0.5692 GB, free: 7.34 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.581e-05/0.155, allocations: 95.27 kB / 0.5693 GB, free: 7.246 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.155, allocations: 0 / 0.5693 GB, free: 7.246 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004714/0.1555, allocations: 55.95 kB / 0.5693 GB, free: 7.191 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.0008201/0.1563, allocations: 0.8942 MB / 0.5702 GB, free: 6.266 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006446/0.157, allocations: 353.2 kB / 0.5705 GB, free: 5.895 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.157, allocations: 0 / 0.5705 GB, free: 5.895 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003527/0.1573, allocations: 281.5 kB / 0.5708 GB, free: 5.594 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005315/0.1579, allocations: 43.27 kB / 0.5708 GB, free: 5.555 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003004/0.1609, allocations: 2.329 MB / 0.5731 GB, free: 3.066 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000397/0.1613, allocations: 0.7203 MB / 0.5738 GB, free: 2.32 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.145e-05/0.1613, allocations: 17.42 kB / 0.5738 GB, free: 2.305 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.975e-05/0.1614, allocations: 39.42 kB / 0.5739 GB, free: 2.266 MB / 430.1 MB Notification: Performance of SimCode: time 8.82e-07/0.1614, allocations: 0 / 0.5739 GB, free: 2.266 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03619/0.1976, allocations: 3.841 MB / 0.5776 GB, free: 14.62 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.14, allocations: 13.83 kB / 0.5776 GB, free: 14.61 MB / 446.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities.fmu > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.631132390990388]