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.0009461/0.0009461, allocations: 83.69 kB / 20.67 MB, free: 3.879 MB / 18.57 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.000958/0.000958, allocations: 170 kB / 23.95 MB, free: 0.6055 MB / 18.57 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 0.9099/0.9099, allocations: 177.1 MB / 204.3 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.2348/0.2348, allocations: 34.25 MB / 294.9 MB, free: 0.7344 MB / 266.7 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 442.2 MB, free: 1.703 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.211e-05/1.377e-05, allocations: 2.281 kB / 442.2 MB, free: 1.699 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.17/0.17, allocations: 1.78 MB / 443.9 MB, free: 43.28 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000428/0.1704, allocations: 152.2 kB / 444.1 MB, free: 43.28 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.897e-05/0.1705, allocations: 7.25 kB / 444.1 MB, free: 43.28 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.163e-05/0.1705, allocations: 24.06 kB / 444.1 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001075/0.1707, allocations: 54.03 kB / 444.2 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001207/0.1708, allocations: 38.73 kB / 444.2 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001173/0.1709, allocations: 193.4 kB / 444.4 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.171, allocations: 43.25 kB / 444.4 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.361e-05/0.1711, allocations: 107.3 kB / 444.5 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.093e-05/0.1712, allocations: 53.19 kB / 444.6 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.896e-05/0.1712, allocations: 12.25 kB / 444.6 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.564e-05/0.1712, allocations: 14.66 kB / 444.6 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.205e-05/0.1712, allocations: 33.72 kB / 444.7 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.774e-05/0.1713, allocations: 60 kB / 444.7 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001353/0.1714, allocations: 195.6 kB / 444.9 MB, free: 43.16 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.1714, allocations: 0 / 444.9 MB, free: 43.16 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1714, allocations: 0 / 444.9 MB, free: 43.16 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.1714, allocations: 3.25 kB / 444.9 MB, free: 43.16 MB / 410.7 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.0003316/0.1718, allocations: 376.7 kB / 445.3 MB, free: 42.86 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.1718, allocations: 11.66 kB / 445.3 MB, free: 42.86 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.797e-05/0.1718, allocations: 47.59 kB / 445.3 MB, free: 42.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.518e-05/0.1719, allocations: 17.06 kB / 445.3 MB, free: 42.81 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.172, allocations: 152.2 kB / 445.5 MB, free: 42.67 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.172, allocations: 10.39 kB / 445.5 MB, free: 42.67 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.389e-05/0.172, allocations: 19.89 kB / 445.5 MB, free: 42.67 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.1722, allocations: 172.3 kB / 445.7 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.1722, allocations: 6.656 kB / 445.7 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.1722, allocations: 6.469 kB / 445.7 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.1722, allocations: 7.219 kB / 445.7 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.504e-05/0.1723, allocations: 88.97 kB / 445.8 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00044/0.1727, allocations: 0.5113 MB / 446.3 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.1729, allocations: 137.5 kB / 446.4 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.176e-05/0.1729, allocations: 47.78 kB / 446.5 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.211e-05/0.1729, allocations: 2.781 kB / 446.5 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.277e-05/0.173, allocations: 33.98 kB / 446.5 MB, free: 42.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.102e-06/0.173, allocations: 3.031 kB / 446.5 MB, free: 42.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004159/0.1734, allocations: 231.3 kB / 446.8 MB, free: 42.08 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.247e-05/0.1734, allocations: 79.83 kB / 446.8 MB, free: 41.99 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.778e-05/0.1735, allocations: 132 kB / 447 MB, free: 41.89 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.861e-06/0.1735, allocations: 25.7 kB / 447 MB, free: 41.86 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.477e-05/0.1735, allocations: 129.1 kB / 447.1 MB, free: 41.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.917e-05/0.1735, allocations: 61.47 kB / 447.2 MB, free: 41.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.183e-05/0.1735, allocations: 39.88 kB / 447.2 MB, free: 41.67 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.628e-05/0.1736, allocations: 323.8 kB / 447.5 MB, free: 41.36 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.758e-05/0.1736, allocations: 37.95 kB / 447.6 MB, free: 41.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.333e-05/0.1737, allocations: 111.4 kB / 447.7 MB, free: 41.25 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.851e-05/0.1738, allocations: 156.7 kB / 447.8 MB, free: 41.12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.1738, allocations: 3.375 kB / 447.8 MB, free: 41.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001974/0.174, allocations: 221.2 kB / 448 MB, free: 41 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.174, allocations: 5.5 kB / 448.1 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.174, allocations: 2.688 kB / 448.1 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001371/0.1741, allocations: 48.91 kB / 448.1 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.234e-05/0.1742, allocations: 45.3 kB / 448.1 MB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008436/0.175, allocations: 2.769 MB / 450.9 MB, free: 38.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.043e-05/0.1751, allocations: 17.45 kB / 450.9 MB, free: 38.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-06/0.1751, allocations: 5.812 kB / 450.9 MB, free: 38.22 MB / 410.7 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 6.686e-05/0.1752, allocations: 137.8 kB / 451.1 MB, free: 38.09 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.515e-05/0.1752, allocations: 13.75 kB / 451.1 MB, free: 38.08 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.556e-05/0.1752, allocations: 15.69 kB / 451.1 MB, free: 38.07 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.1752, allocations: 2.969 kB / 451.1 MB, free: 38.07 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1752, allocations: 5 kB / 451.1 MB, free: 38.07 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.1752, allocations: 3.234 kB / 451.1 MB, free: 38.07 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001414/0.1753, allocations: 187 kB / 451.3 MB, free: 37.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1753, allocations: 2.656 kB / 451.3 MB, free: 37.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.11e-05/0.1754, allocations: 29.98 kB / 451.3 MB, free: 37.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.619e-05/0.1755, allocations: 56.06 kB / 451.4 MB, free: 37.85 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.1755, allocations: 2.812 kB / 451.4 MB, free: 37.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007412/0.1763, allocations: 2.782 MB / 454.2 MB, free: 35.11 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1763, allocations: 0 / 454.2 MB, free: 35.11 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001859/0.1764, allocations: 375 kB / 454.5 MB, free: 34.82 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.013e-06/0.1764, allocations: 10.64 kB / 454.5 MB, free: 34.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.596e-06/0.1765, allocations: 6.219 kB / 454.6 MB, free: 34.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.933e-05/0.1765, allocations: 4.531 kB / 454.6 MB, free: 34.81 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.163e-05/0.1765, allocations: 16.08 kB / 454.6 MB, free: 34.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.419e-06/0.1765, allocations: 6.906 kB / 454.6 MB, free: 34.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.343e-05/0.1766, allocations: 94.48 kB / 454.7 MB, free: 34.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1766, allocations: 96 / 454.7 MB, free: 34.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002746/0.1768, allocations: 62.2 kB / 454.7 MB, free: 34.71 MB / 410.7 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.0002775/0.1771, allocations: 0.907 MB / 455.6 MB, free: 33.89 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002751/0.1774, allocations: 342.5 kB / 456 MB, free: 33.63 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.1774, allocations: 0 / 456 MB, free: 33.63 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001057/0.1775, allocations: 283.2 kB / 456.2 MB, free: 33.39 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003476/0.1778, allocations: 31.38 kB / 456.3 MB, free: 33.38 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001183/0.179, allocations: 2.192 MB / 458.5 MB, free: 31.55 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.756e-05/0.1791, allocations: 115.1 kB / 458.6 MB, free: 31.48 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.996e-05/0.1791, allocations: 7.156 kB / 458.6 MB, free: 31.48 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.059e-05/0.1792, allocations: 45.27 kB / 458.6 MB, free: 31.45 MB / 410.7 MB Notification: Performance of SimCode: time 4.91e-07/0.1792, allocations: 4 kB / 458.6 MB, free: 31.44 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01785/0.197, allocations: 4.562 MB / 463.2 MB, free: 30.25 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.023/7.22, allocations: 16.06 kB / 463.2 MB, free: 30.24 MB / 410.7 MB " [Timeout remaining time 653] (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/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: 9.177777206525207]