Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001761/0.001761, allocations: 116.9 kB / 18.49 MB, free: 4.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002143/0.002143, allocations: 220.7 kB / 21.46 MB, free: 1.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.518/1.518, allocations: 230.4 MB / 254.7 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2401/0.2401, allocations: 46.93 MB / 357.7 MB, free: 10.18 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003706/0.003706, allocations: 79.88 kB / 0.4916 GB, free: 7.715 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1582, allocations: 66.04 MB / 0.5561 GB, free: 5.547 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003764/0.162, allocations: 1.876 MB / 0.558 GB, free: 3.652 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.000468/0.1625, allocations: 147.5 kB / 0.5581 GB, free: 3.508 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001256/0.1626, allocations: 4 kB / 0.5581 GB, free: 3.504 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 8.061e-05/0.1627, allocations: 23.73 kB / 0.5581 GB, free: 3.48 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001723/0.1628, allocations: 51.55 kB / 0.5582 GB, free: 3.43 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001756/0.163, allocations: 43.95 kB / 0.5582 GB, free: 3.387 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002791/0.1633, allocations: 191 kB / 0.5584 GB, free: 3.199 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001582/0.1635, allocations: 37.55 kB / 0.5584 GB, free: 3.164 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001314/0.1636, allocations: 79.7 kB / 0.5585 GB, free: 3.086 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.1637, allocations: 71.64 kB / 0.5586 GB, free: 3.016 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.786e-05/0.1637, allocations: 12 kB / 0.5586 GB, free: 3.004 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.251e-05/0.1638, allocations: 16 kB / 0.5586 GB, free: 2.988 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.568e-05/0.1638, allocations: 27.92 kB / 0.5586 GB, free: 2.961 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.809e-05/0.1639, allocations: 95.58 kB / 0.5587 GB, free: 2.867 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002532/0.1642, allocations: 171.3 kB / 0.5589 GB, free: 2.699 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1642, allocations: 0 / 0.5589 GB, free: 2.699 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.056e-06/0.1642, allocations: 11.98 kB / 0.5589 GB, free: 2.688 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.1642, allocations: 0 / 0.5589 GB, free: 2.688 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.0006766/0.1649, allocations: 455 kB / 0.5593 GB, free: 2.188 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.1649, allocations: 12.03 kB / 0.5593 GB, free: 2.176 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.767e-05/0.1649, allocations: 4.516 kB / 0.5594 GB, free: 2.172 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.156e-05/0.165, allocations: 46.73 kB / 0.5594 GB, free: 2.117 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.555e-05/0.165, allocations: 20.84 kB / 0.5594 GB, free: 2.098 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002375/0.1653, allocations: 212.2 kB / 0.5596 GB, free: 1.852 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.1653, allocations: 16.64 kB / 0.5596 GB, free: 1.836 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.523e-05/0.1653, allocations: 24.33 kB / 0.5597 GB, free: 1.812 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003024/0.1656, allocations: 165.9 kB / 0.5598 GB, free: 1.641 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.1657, allocations: 4 kB / 0.5598 GB, free: 1.637 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.749e-05/0.1657, allocations: 4 kB / 0.5598 GB, free: 1.633 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.1657, allocations: 4 kB / 0.5598 GB, free: 1.629 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001688/0.1659, allocations: 87.89 kB / 0.5599 GB, free: 1.543 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009032/0.1668, allocations: 0.6113 MB / 0.5605 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002291/0.167, allocations: 121.2 kB / 0.5606 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001168/0.1671, allocations: 49.69 kB / 0.5607 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.1671, allocations: 8.125 kB / 0.5607 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.954e-05/0.1672, allocations: 46.55 kB / 0.5607 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.923e-06/0.1672, allocations: 0 / 0.5607 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009142/0.1681, allocations: 373.6 kB / 0.5611 GB, free: 208 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.884e-05/0.1681, allocations: 81.2 kB / 0.5612 GB, free: 108 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001693/0.1683, allocations: 135.6 kB / 0.5613 GB, free: 15.96 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.402e-05/0.1683, allocations: 25.7 kB / 0.5613 GB, free: 15.93 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.1684, allocations: 132.2 kB / 0.5614 GB, free: 15.8 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.835e-05/0.1685, allocations: 55.48 kB / 0.5615 GB, free: 15.74 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.656e-05/0.1686, allocations: 49.7 kB / 0.5615 GB, free: 15.69 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.1687, allocations: 318.8 kB / 0.5618 GB, free: 15.37 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.772e-05/0.1688, allocations: 35.98 kB / 0.5619 GB, free: 15.33 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.1689, allocations: 100.5 kB / 0.562 GB, free: 15.2 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002251/0.1692, allocations: 160.5 kB / 0.5621 GB, free: 15.02 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.1692, allocations: 0 / 0.5621 GB, free: 15.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004259/0.1696, allocations: 219 kB / 0.5623 GB, free: 14.79 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.1696, allocations: 8.188 kB / 0.5623 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.1696, allocations: 11.94 kB / 0.5624 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002494/0.1699, allocations: 49.7 kB / 0.5624 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/0.17, allocations: 31.98 kB / 0.5624 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00267/0.1727, allocations: 2.99 MB / 0.5654 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.962e-05/0.1728, allocations: 23.86 kB / 0.5654 GB, free: 11.39 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.1728, allocations: 8 kB / 0.5654 GB, free: 11.38 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.000145/0.1729, allocations: 133.9 kB / 0.5655 GB, free: 11.24 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.33e-05/0.173, allocations: 19.84 kB / 0.5655 GB, free: 11.22 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.765e-05/0.173, allocations: 16.72 kB / 0.5655 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.173, allocations: 0 / 0.5655 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.173, allocations: 0 / 0.5655 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.173, allocations: 4 kB / 0.5655 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003224/0.1734, allocations: 229.6 kB / 0.5658 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.1734, allocations: 96 / 0.5658 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001526/0.1735, allocations: 35.86 kB / 0.5658 GB, free: 10.89 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001514/0.1737, allocations: 49.64 kB / 0.5658 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.1737, allocations: 4 kB / 0.5659 GB, free: 10.83 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002482/0.1762, allocations: 2.994 MB / 0.5688 GB, free: 7.562 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.1762, allocations: 0 / 0.5688 GB, free: 7.562 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004808/0.1767, allocations: 375.6 kB / 0.5691 GB, free: 7.176 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.131e-05/0.1767, allocations: 89 kB / 0.5692 GB, free: 7.07 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.945e-05/0.1767, allocations: 8 kB / 0.5692 GB, free: 7.062 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.1768, allocations: 4 kB / 0.5692 GB, free: 7.059 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.232e-05/0.1769, allocations: 11.98 kB / 0.5692 GB, free: 7.047 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.387e-06/0.1769, allocations: 4 kB / 0.5692 GB, free: 7.043 MB / 430.1 MB Notification: Performance of sorting global known variables: time 8.491e-05/0.177, allocations: 104.6 kB / 0.5693 GB, free: 6.941 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.177, allocations: 0 / 0.5693 GB, free: 6.941 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004736/0.1774, allocations: 55.95 kB / 0.5694 GB, free: 6.887 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.0008015/0.1782, allocations: 0.9008 MB / 0.5703 GB, free: 5.953 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000652/0.1789, allocations: 349.2 kB / 0.5706 GB, free: 5.586 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.1789, allocations: 0 / 0.5706 GB, free: 5.586 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000353/0.1793, allocations: 277.8 kB / 0.5709 GB, free: 5.289 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005116/0.1798, allocations: 35.12 kB / 0.5709 GB, free: 5.258 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002984/0.1828, allocations: 2.332 MB / 0.5732 GB, free: 2.77 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003967/0.1831, allocations: 0.7203 MB / 0.5739 GB, free: 2.023 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.402e-05/0.1832, allocations: 17.41 kB / 0.5739 GB, free: 2.008 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.759e-05/0.1833, allocations: 39.42 kB / 0.5739 GB, free: 1.969 MB / 430.1 MB Notification: Performance of SimCode: time 9.11e-07/0.1833, allocations: 0 / 0.5739 GB, free: 1.969 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0297/0.213, allocations: 3.85 MB / 0.5777 GB, free: 14.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.52/10.73, allocations: 4.062 kB / 0.5777 GB, free: 14.29 MB / 446.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.023153695045039]