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.0009392/0.0009392, allocations: 83.62 kB / 21.43 MB, free: 3.133 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.005626/0.005626, allocations: 159.9 kB / 24.7 MB, free: 9.414 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.8968/0.8968, allocations: 177.2 MB / 205 MB, free: 5.719 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.26/0.26, allocations: 34.26 MB / 295.7 MB, free: 0.6875 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: 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 1.733e-06/1.733e-06, allocations: 3.938 kB / 443.4 MB, free: 1.172 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.702e-05/2.875e-05, allocations: 3.688 kB / 443.4 MB, free: 1.168 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.1804/0.1804, allocations: 1.769 MB / 445.2 MB, free: 43.65 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002953/0.1807, allocations: 153.3 kB / 445.4 MB, free: 43.6 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.016e-05/0.1807, allocations: 2.906 kB / 445.4 MB, free: 43.6 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.838e-05/0.1808, allocations: 25.66 kB / 445.4 MB, free: 43.58 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.573e-05/0.1809, allocations: 57.7 kB / 445.4 MB, free: 43.55 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000124/0.181, allocations: 41.03 kB / 445.5 MB, free: 43.54 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000125/0.1811, allocations: 186.7 kB / 445.7 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001456/0.1813, allocations: 45.02 kB / 445.7 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.1814, allocations: 108 kB / 445.8 MB, free: 43.47 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.722e-05/0.1815, allocations: 49.72 kB / 445.9 MB, free: 43.46 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.761e-05/0.1815, allocations: 14.06 kB / 445.9 MB, free: 43.46 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.582e-05/0.1815, allocations: 14.31 kB / 445.9 MB, free: 43.46 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.221e-05/0.1815, allocations: 36.88 kB / 445.9 MB, free: 43.45 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.051e-05/0.1816, allocations: 61.48 kB / 446 MB, free: 43.44 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000155/0.1817, allocations: 183.5 kB / 446.2 MB, free: 43.41 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.1817, allocations: 4.969 kB / 446.2 MB, free: 43.41 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1817, allocations: 0 / 446.2 MB, free: 43.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.1817, allocations: 0 / 446.2 MB, free: 43.41 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.0003655/0.1821, allocations: 384.8 kB / 446.5 MB, free: 43.11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.1821, allocations: 9.125 kB / 446.5 MB, free: 43.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.031e-05/0.1822, allocations: 21.16 kB / 446.6 MB, free: 43.1 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.1823, allocations: 143 kB / 446.7 MB, free: 42.96 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.1823, allocations: 10.58 kB / 446.7 MB, free: 42.96 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.893e-05/0.1823, allocations: 33.12 kB / 446.8 MB, free: 42.95 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.1825, allocations: 164 kB / 446.9 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.1825, allocations: 4.125 kB / 446.9 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.1825, allocations: 7.156 kB / 446.9 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.1826, allocations: 3.344 kB / 446.9 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/0.1827, allocations: 95.72 kB / 447 MB, free: 42.9 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005067/0.1832, allocations: 491 kB / 447.5 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001645/0.1833, allocations: 124.5 kB / 447.6 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.014e-05/0.1834, allocations: 50.25 kB / 447.7 MB, free: 42.51 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.398e-05/0.1834, allocations: 6.531 kB / 447.7 MB, free: 42.51 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.665e-05/0.1834, allocations: 42.56 kB / 447.7 MB, free: 42.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.483e-06/0.1834, allocations: 0 / 447.7 MB, free: 42.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004471/0.1839, allocations: 223.3 kB / 447.9 MB, free: 42.37 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.736e-05/0.1839, allocations: 79.73 kB / 448 MB, free: 42.27 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.366e-05/0.184, allocations: 133 kB / 448.1 MB, free: 42.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.843e-06/0.184, allocations: 33.64 kB / 448.2 MB, free: 42.12 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.71e-05/0.184, allocations: 131.8 kB / 448.3 MB, free: 42 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.323e-05/0.184, allocations: 56.53 kB / 448.4 MB, free: 41.96 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-05/0.1841, allocations: 43.36 kB / 448.4 MB, free: 41.93 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.709e-05/0.1841, allocations: 324.8 kB / 448.7 MB, free: 41.61 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.888e-05/0.1841, allocations: 34.36 kB / 448.8 MB, free: 41.59 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.691e-05/0.1842, allocations: 110.9 kB / 448.9 MB, free: 41.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001061/0.1843, allocations: 158 kB / 449 MB, free: 41.37 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1843, allocations: 2.562 kB / 449 MB, free: 41.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002182/0.1845, allocations: 218.3 kB / 449.2 MB, free: 41.25 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.1845, allocations: 8.688 kB / 449.2 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.1845, allocations: 0 / 449.2 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001583/0.1847, allocations: 58.09 kB / 449.3 MB, free: 41.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.814e-05/0.1848, allocations: 33.17 kB / 449.3 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009923/0.1858, allocations: 2.726 MB / 452.1 MB, free: 38.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.502e-05/0.1858, allocations: 17.64 kB / 452.1 MB, free: 38.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.1858, allocations: 9.562 kB / 452.1 MB, free: 38.54 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.447e-05/0.1859, allocations: 138.3 kB / 452.2 MB, free: 38.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.397e-05/0.1859, allocations: 9.703 kB / 452.2 MB, free: 38.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.95e-05/0.1859, allocations: 18.94 kB / 452.2 MB, free: 38.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1859, allocations: 2.719 kB / 452.2 MB, free: 38.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.1859, allocations: 0 / 452.2 MB, free: 38.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.1859, allocations: 2.812 kB / 452.2 MB, free: 38.39 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001306/0.1861, allocations: 169.2 kB / 452.4 MB, free: 38.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.1861, allocations: 3.188 kB / 452.4 MB, free: 38.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.612e-05/0.1862, allocations: 25.8 kB / 452.4 MB, free: 38.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.122e-05/0.1862, allocations: 48.5 kB / 452.5 MB, free: 38.21 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.1863, allocations: 0 / 452.5 MB, free: 38.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000744/0.187, allocations: 2.733 MB / 455.2 MB, free: 35.53 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.187, allocations: 1.359 kB / 455.2 MB, free: 35.53 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001991/0.1872, allocations: 380.5 kB / 455.6 MB, free: 35.24 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.693e-06/0.1872, allocations: 6.734 kB / 455.6 MB, free: 35.23 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.879e-06/0.1872, allocations: 10 kB / 455.6 MB, free: 35.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.809e-05/0.1873, allocations: 4.062 kB / 455.6 MB, free: 35.23 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.287e-05/0.1873, allocations: 12.62 kB / 455.6 MB, free: 35.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.501e-06/0.1873, allocations: 10.97 kB / 455.6 MB, free: 35.22 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.94e-05/0.1873, allocations: 94.72 kB / 455.7 MB, free: 35.14 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1873, allocations: 0 / 455.7 MB, free: 35.14 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002953/0.1876, allocations: 61.02 kB / 455.8 MB, free: 35.12 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.0001005/0.1877, allocations: 94.42 kB / 455.9 MB, free: 35.04 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003203/0.188, allocations: 343.8 kB / 456.2 MB, free: 34.78 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.188, allocations: 0 / 456.2 MB, free: 34.78 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000113/0.1882, allocations: 288.9 kB / 456.5 MB, free: 34.53 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003728/0.1885, allocations: 30.42 kB / 456.5 MB, free: 34.52 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006051/0.1891, allocations: 0.5359 MB / 457.1 MB, free: 34.11 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.214e-05/0.1892, allocations: 118.2 kB / 457.2 MB, free: 34.04 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.701e-05/0.1892, allocations: 14.31 kB / 457.2 MB, free: 34.03 MB / 410.7 MB Notification: Performance of SimCode: time 7.32e-07/0.1892, allocations: 0 / 457.2 MB, free: 34.03 MB / 410.7 MB Notification: Performance of Templates: time 0.003251/0.1925, allocations: 3.254 MB / 460.4 MB, free: 33.77 MB / 410.7 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.023800686001778]