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.001769/0.001769, allocations: 123.4 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.002044/0.002044, allocations: 208.3 kB / 20.75 MB, free: 2.273 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.537/1.537, allocations: 230.6 MB / 254.1 MB, free: 15.07 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.2514/0.2514, allocations: 46.92 MB / 357.1 MB, free: 10.29 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: translateModel(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") translateModel(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 71.89 kB / 0.4914 GB, free: 7.441 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1713, allocations: 66 MB / 0.5558 GB, free: 5.312 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.004618/0.1759, allocations: 1.858 MB / 0.5577 GB, free: 3.441 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004685/0.1764, allocations: 159.4 kB / 0.5578 GB, free: 3.285 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.222e-05/0.1765, allocations: 0 / 0.5578 GB, free: 3.285 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 7.905e-05/0.1765, allocations: 19.8 kB / 0.5578 GB, free: 3.266 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001953/0.1767, allocations: 55.48 kB / 0.5579 GB, free: 3.211 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002019/0.1769, allocations: 43.94 kB / 0.5579 GB, free: 3.168 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002963/0.1772, allocations: 187.1 kB / 0.5581 GB, free: 2.984 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001905/0.1774, allocations: 41.53 kB / 0.5581 GB, free: 2.945 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001314/0.1775, allocations: 67.78 kB / 0.5582 GB, free: 2.879 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001551/0.1777, allocations: 79.64 kB / 0.5583 GB, free: 2.801 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.147e-05/0.1777, allocations: 16 kB / 0.5583 GB, free: 2.785 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.618e-05/0.1778, allocations: 12 kB / 0.5583 GB, free: 2.773 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.999e-05/0.1778, allocations: 35.91 kB / 0.5583 GB, free: 2.738 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000126/0.178, allocations: 83.59 kB / 0.5584 GB, free: 2.656 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003137/0.1783, allocations: 179.3 kB / 0.5586 GB, free: 2.48 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1783, allocations: 0 / 0.5586 GB, free: 2.48 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1783, allocations: 0 / 0.5586 GB, free: 2.48 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.323e-05/0.1783, allocations: 0 / 0.5586 GB, free: 2.48 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.0007887/0.1791, allocations: 463 kB / 0.559 GB, free: 1.973 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.1791, allocations: 12.03 kB / 0.559 GB, free: 1.961 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.154e-05/0.1792, allocations: 20.78 kB / 0.5591 GB, free: 1.941 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002922/0.1795, allocations: 204.2 kB / 0.5593 GB, free: 1.703 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.397e-05/0.1795, allocations: 12.7 kB / 0.5593 GB, free: 1.691 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.504e-05/0.1796, allocations: 24.31 kB / 0.5593 GB, free: 1.668 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003907/0.18, allocations: 162.1 kB / 0.5594 GB, free: 1.5 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.648e-05/0.18, allocations: 8.188 kB / 0.5595 GB, free: 1.492 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.773e-05/0.18, allocations: 15.92 kB / 0.5595 GB, free: 1.477 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.18, allocations: 4 kB / 0.5595 GB, free: 1.473 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002448/0.1803, allocations: 90.08 kB / 0.5596 GB, free: 1.387 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001154/0.1814, allocations: 0.6112 MB / 0.5602 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003343/0.1818, allocations: 125.2 kB / 0.5603 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001117/0.1819, allocations: 45.7 kB / 0.5603 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.1819, allocations: 0 / 0.5603 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.011e-05/0.1819, allocations: 38.55 kB / 0.5604 GB, free: 488 kB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.473e-06/0.1819, allocations: 0 / 0.5604 GB, free: 488 kB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009379/0.1829, allocations: 377.8 kB / 0.5607 GB, free: 60 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.156e-05/0.1829, allocations: 81.11 kB / 0.5608 GB, free: 15.96 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.1831, allocations: 126.1 kB / 0.5609 GB, free: 15.82 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.1831, allocations: 33.8 kB / 0.5609 GB, free: 15.79 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.65e-05/0.1832, allocations: 132.1 kB / 0.5611 GB, free: 15.65 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.648e-05/0.1833, allocations: 67.39 kB / 0.5611 GB, free: 15.59 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.158e-05/0.1833, allocations: 37.72 kB / 0.5612 GB, free: 15.54 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001767/0.1835, allocations: 322.8 kB / 0.5615 GB, free: 15.22 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.674e-05/0.1836, allocations: 35.98 kB / 0.5615 GB, free: 15.18 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001245/0.1837, allocations: 104.6 kB / 0.5616 GB, free: 15.05 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002234/0.1839, allocations: 156.6 kB / 0.5618 GB, free: 14.87 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.1839, allocations: 0 / 0.5618 GB, free: 14.87 MB / 430.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004308/0.1844, allocations: 227 kB / 0.562 GB, free: 14.63 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.1844, allocations: 4 kB / 0.562 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.1844, allocations: 7.984 kB / 0.562 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002509/0.1846, allocations: 45.7 kB / 0.562 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001432/0.1848, allocations: 39.92 kB / 0.5621 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002916/0.1877, allocations: 2.995 MB / 0.565 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/0.1878, allocations: 24.08 kB / 0.565 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.1878, allocations: 4 kB / 0.565 GB, free: 11.23 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.0001335/0.1879, allocations: 129.8 kB / 0.5652 GB, free: 11.09 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.747e-05/0.188, allocations: 15.91 kB / 0.5652 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.265e-05/0.188, allocations: 20.64 kB / 0.5652 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.1881, allocations: 4 kB / 0.5652 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.1881, allocations: 0 / 0.5652 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.1881, allocations: 4 kB / 0.5652 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003364/0.1884, allocations: 233.6 kB / 0.5654 GB, free: 10.77 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.1884, allocations: 0 / 0.5654 GB, free: 10.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001577/0.1886, allocations: 24 kB / 0.5654 GB, free: 10.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001441/0.1887, allocations: 45.78 kB / 0.5655 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.219e-05/0.1887, allocations: 11.88 kB / 0.5655 GB, free: 10.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002604/0.1913, allocations: 2.994 MB / 0.5684 GB, free: 7.414 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1913, allocations: 0 / 0.5684 GB, free: 7.414 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004988/0.1918, allocations: 368.6 kB / 0.5688 GB, free: 7.031 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.73e-05/0.1919, allocations: 92.98 kB / 0.5689 GB, free: 6.922 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.1919, allocations: 8 kB / 0.5689 GB, free: 6.914 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.192, allocations: 7.938 kB / 0.5689 GB, free: 6.906 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.745e-05/0.1921, allocations: 11.98 kB / 0.5689 GB, free: 6.895 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.337e-06/0.1921, allocations: 8 kB / 0.5689 GB, free: 6.887 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.948e-05/0.1922, allocations: 101.8 kB / 0.569 GB, free: 6.789 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1922, allocations: 0 / 0.569 GB, free: 6.789 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000469/0.1926, allocations: 51.95 kB / 0.569 GB, free: 6.738 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.0001424/0.1928, allocations: 99.19 kB / 0.5691 GB, free: 6.633 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006749/0.1935, allocations: 353.4 kB / 0.5695 GB, free: 6.262 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.1935, allocations: 0 / 0.5695 GB, free: 6.262 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003659/0.1938, allocations: 273.3 kB / 0.5697 GB, free: 5.969 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004866/0.1943, allocations: 37.86 kB / 0.5698 GB, free: 5.934 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.1955, allocations: 0.6469 MB / 0.5704 GB, free: 5.254 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004254/0.196, allocations: 0.732 MB / 0.5711 GB, free: 4.496 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.496e-05/0.196, allocations: 9.422 kB / 0.5711 GB, free: 4.484 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.962e-05/0.196, allocations: 11.81 kB / 0.5711 GB, free: 4.477 MB / 430.1 MB Notification: Performance of SimCode: time 4.91e-07/0.196, allocations: 0 / 0.5711 GB, free: 4.477 MB / 430.1 MB Notification: Performance of Templates: time 0.006498/0.2025, allocations: 1.994 MB / 0.5731 GB, free: 2.496 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile [Timeout 660] (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 & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","/var/lib/jenkins/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: 5.311938431113958]