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.0009158/0.0009158, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.00102/0.00102, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9364/0.9364, allocations: 177 MB / 204.1 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.2525/0.2525, allocations: 34.25 MB / 294.8 MB, free: 0.6758 MB / 266.7 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 442.1 MB, free: 1.582 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.056e-05/2.223e-05, allocations: 2.281 kB / 442.1 MB, free: 1.578 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.1819/0.1819, allocations: 1.777 MB / 443.9 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005069/0.1824, allocations: 149.4 kB / 444.1 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.949e-05/0.1825, allocations: 6.719 kB / 444.1 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.593e-05/0.1825, allocations: 19.62 kB / 444.1 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001115/0.1826, allocations: 61.3 kB / 444.1 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000135/0.1828, allocations: 36.64 kB / 444.2 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001338/0.1829, allocations: 191.7 kB / 444.4 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001396/0.183, allocations: 38.23 kB / 444.4 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.1831, allocations: 114.4 kB / 444.5 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.575e-05/0.1832, allocations: 52.52 kB / 444.6 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.975e-05/0.1832, allocations: 18.62 kB / 444.6 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.449e-05/0.1833, allocations: 14.38 kB / 444.6 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.375e-05/0.1833, allocations: 31.95 kB / 444.6 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.231e-05/0.1833, allocations: 56.78 kB / 444.7 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001584/0.1835, allocations: 185.8 kB / 444.9 MB, free: 43.1 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.1835, allocations: 2.812 kB / 444.9 MB, free: 43.1 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1835, allocations: 0 / 444.9 MB, free: 43.1 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.1835, allocations: 0 / 444.9 MB, free: 43.1 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.000381/0.1839, allocations: 378 kB / 445.2 MB, free: 42.8 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.1839, allocations: 11.56 kB / 445.3 MB, free: 42.8 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.256e-05/0.184, allocations: 49.61 kB / 445.3 MB, free: 42.76 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.156e-05/0.184, allocations: 21.05 kB / 445.3 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.1841, allocations: 150.3 kB / 445.5 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.1841, allocations: 10.55 kB / 445.5 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.993e-05/0.1842, allocations: 23.36 kB / 445.5 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.1844, allocations: 166.5 kB / 445.7 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.1844, allocations: 3.5 kB / 445.7 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.1844, allocations: 9.344 kB / 445.7 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.1844, allocations: 9.938 kB / 445.7 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.1845, allocations: 85.48 kB / 445.8 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004844/0.185, allocations: 0.5169 MB / 446.3 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.1851, allocations: 126.4 kB / 446.4 MB, free: 42.15 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.54e-05/0.1852, allocations: 49.55 kB / 446.5 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/0.1852, allocations: 2.719 kB / 446.5 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.403e-05/0.1852, allocations: 40.84 kB / 446.5 MB, free: 42.09 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.793e-06/0.1852, allocations: 0 / 446.5 MB, free: 42.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004646/0.1857, allocations: 224.4 kB / 446.7 MB, free: 42.03 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/0.1857, allocations: 84.02 kB / 446.8 MB, free: 41.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.202e-05/0.1858, allocations: 132.2 kB / 446.9 MB, free: 41.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.774e-06/0.1858, allocations: 29.2 kB / 447 MB, free: 41.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.86e-05/0.1858, allocations: 133.2 kB / 447.1 MB, free: 41.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.244e-05/0.1858, allocations: 59.39 kB / 447.2 MB, free: 41.63 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.382e-05/0.1859, allocations: 39.47 kB / 447.2 MB, free: 41.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.173e-05/0.1859, allocations: 323.9 kB / 447.5 MB, free: 41.28 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.018e-05/0.1859, allocations: 36.7 kB / 447.5 MB, free: 41.27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.799e-05/0.186, allocations: 108.3 kB / 447.6 MB, free: 41.17 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001105/0.1861, allocations: 159.1 kB / 447.8 MB, free: 41.04 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.1861, allocations: 2.875 kB / 447.8 MB, free: 41.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002107/0.1863, allocations: 219 kB / 448 MB, free: 40.93 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.1864, allocations: 8.672 kB / 448 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.1864, allocations: 2.656 kB / 448 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001652/0.1865, allocations: 52.27 kB / 448.1 MB, free: 40.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.506e-05/0.1866, allocations: 30.62 kB / 448.1 MB, free: 40.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001059/0.1877, allocations: 2.782 MB / 450.9 MB, free: 38.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.646e-05/0.1877, allocations: 20.02 kB / 450.9 MB, free: 38.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-06/0.1877, allocations: 5.719 kB / 450.9 MB, free: 38.14 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 7.286e-05/0.1878, allocations: 131.8 kB / 451 MB, free: 38.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.61e-05/0.1878, allocations: 17.91 kB / 451.1 MB, free: 38 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.051e-05/0.1879, allocations: 15.62 kB / 451.1 MB, free: 38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.1879, allocations: 2.938 kB / 451.1 MB, free: 38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.1879, allocations: 9.906 kB / 451.1 MB, free: 37.99 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.1879, allocations: 1.688 kB / 451.1 MB, free: 37.99 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001628/0.188, allocations: 187.9 kB / 451.3 MB, free: 37.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.188, allocations: 0 / 451.3 MB, free: 37.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.545e-05/0.1881, allocations: 30.75 kB / 451.3 MB, free: 37.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.492e-05/0.1882, allocations: 44.3 kB / 451.4 MB, free: 37.79 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.1882, allocations: 6.594 kB / 451.4 MB, free: 37.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008875/0.1891, allocations: 2.779 MB / 454.1 MB, free: 35.04 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1891, allocations: 0 / 454.1 MB, free: 35.04 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002138/0.1893, allocations: 376.9 kB / 454.5 MB, free: 34.75 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.864e-06/0.1893, allocations: 10.7 kB / 454.5 MB, free: 34.75 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.003e-05/0.1894, allocations: 2.75 kB / 454.5 MB, free: 34.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.733e-05/0.1894, allocations: 4.062 kB / 454.5 MB, free: 34.74 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.394e-05/0.1894, allocations: 19.89 kB / 454.5 MB, free: 34.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.209e-06/0.1894, allocations: 6.844 kB / 454.5 MB, free: 34.73 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.105e-05/0.1895, allocations: 103.1 kB / 454.6 MB, free: 34.65 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1895, allocations: 0 / 454.6 MB, free: 34.65 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003076/0.1898, allocations: 53.83 kB / 454.7 MB, free: 34.64 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.0003457/0.1901, allocations: 0.9073 MB / 455.6 MB, free: 33.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003343/0.1905, allocations: 339.8 kB / 455.9 MB, free: 33.57 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1905, allocations: 0 / 455.9 MB, free: 33.57 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001182/0.1906, allocations: 284.4 kB / 456.2 MB, free: 33.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003783/0.191, allocations: 33.52 kB / 456.3 MB, free: 33.31 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001423/0.1924, allocations: 2.192 MB / 458.4 MB, free: 31.49 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.937e-05/0.1924, allocations: 110.9 kB / 458.6 MB, free: 31.41 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.781e-05/0.1925, allocations: 14.64 kB / 458.6 MB, free: 31.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.753e-05/0.1925, allocations: 41.31 kB / 458.6 MB, free: 31.38 MB / 410.7 MB Notification: Performance of SimCode: time 5.71e-07/0.1925, allocations: 0 / 458.6 MB, free: 31.38 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02119/0.2137, allocations: 4.583 MB / 463.2 MB, free: 30.18 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.965/7.178, allocations: 9.297 kB / 463.2 MB, free: 30.18 MB / 410.7 MB " [Timeout remaining time 653] (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/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_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: 9.210236574523151]