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.001264/0.001264, allocations: 85.44 kB / 20.68 MB, free: 1.035 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.001414/0.001414, allocations: 163.6 kB / 23.95 MB, free: 4.168 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.487/1.487, allocations: 177.1 MB / 204.3 MB, free: 9.195 MB / 190.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.2253/0.2253, allocations: 34.28 MB / 295 MB, free: 14.59 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 2.064e-06/2.064e-06, allocations: 0 / 442.7 MB, free: 5.449 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.689e-05/3.895e-05, allocations: 2.281 kB / 442.7 MB, free: 5.445 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003304/0.003343, allocations: 1.791 MB / 444.4 MB, free: 3.645 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003867/0.00373, allocations: 159.4 kB / 444.6 MB, free: 3.488 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.218e-05/0.003812, allocations: 4 kB / 444.6 MB, free: 3.484 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 6.868e-05/0.00388, allocations: 23.73 kB / 444.6 MB, free: 3.461 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001577/0.004038, allocations: 51.55 kB / 444.7 MB, free: 3.41 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001551/0.004193, allocations: 39.88 kB / 444.7 MB, free: 3.371 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002427/0.004436, allocations: 203 kB / 444.9 MB, free: 3.172 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001652/0.004601, allocations: 37.72 kB / 445 MB, free: 3.137 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001713/0.004772, allocations: 111.8 kB / 445.1 MB, free: 3.027 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001212/0.004894, allocations: 47.88 kB / 445.1 MB, free: 2.98 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.088e-05/0.004925, allocations: 16 kB / 445.1 MB, free: 2.965 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.204e-05/0.004967, allocations: 16 kB / 445.1 MB, free: 2.949 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.062e-05/0.005007, allocations: 31.84 kB / 445.2 MB, free: 2.918 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.109e-05/0.005088, allocations: 59.89 kB / 445.2 MB, free: 2.859 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002636/0.005352, allocations: 179.4 kB / 445.4 MB, free: 2.684 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.005359, allocations: 4 kB / 445.4 MB, free: 2.68 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.00536, allocations: 0 / 445.4 MB, free: 2.68 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.005366, allocations: 4 kB / 445.4 MB, free: 2.676 MB / 366.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.0006379/0.006003, allocations: 377.9 kB / 445.8 MB, free: 2.27 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.006044, allocations: 8.031 kB / 445.8 MB, free: 2.262 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.549e-05/0.00611, allocations: 20.84 kB / 445.8 MB, free: 2.242 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002196/0.006329, allocations: 145.5 kB / 445.9 MB, free: 2.074 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.00635, allocations: 12.7 kB / 446 MB, free: 2.062 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.296e-05/0.006393, allocations: 20.33 kB / 446 MB, free: 2.043 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003343/0.006727, allocations: 166.2 kB / 446.1 MB, free: 1.871 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.006745, allocations: 192 / 446.1 MB, free: 1.871 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.359e-05/0.006769, allocations: 16.38 kB / 446.2 MB, free: 1.855 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.318e-06/0.006778, allocations: 4.375 kB / 446.2 MB, free: 1.852 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001918/0.00697, allocations: 91.83 kB / 446.3 MB, free: 1.762 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008201/0.00779, allocations: 0.4883 MB / 446.7 MB, free: 1.238 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002462/0.008036, allocations: 117.2 kB / 446.9 MB, free: 1.105 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.008141, allocations: 53.77 kB / 446.9 MB, free: 1.047 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.008161, allocations: 7.922 kB / 446.9 MB, free: 1.039 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/0.008201, allocations: 42.5 kB / 447 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.363e-06/0.008202, allocations: 4 kB / 447 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008053/0.009008, allocations: 215.1 kB / 447.2 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.197e-05/0.00907, allocations: 81.09 kB / 447.3 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/0.009214, allocations: 130.1 kB / 447.4 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.009239, allocations: 33.69 kB / 447.4 MB, free: 496 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.009343, allocations: 132.3 kB / 447.5 MB, free: 360 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.296e-05/0.009396, allocations: 59.48 kB / 447.6 MB, free: 300 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.301e-05/0.009469, allocations: 41.56 kB / 447.6 MB, free: 252 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.1816/0.191, allocations: 322.8 kB / 448 MB, free: 18.94 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001165/0.1911, allocations: 34.36 kB / 448 MB, free: 18.94 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001049/0.1913, allocations: 102.8 kB / 448.1 MB, free: 18.86 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001709/0.1914, allocations: 160.3 kB / 448.2 MB, free: 18.78 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.1914, allocations: 1.125 kB / 448.2 MB, free: 18.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003909/0.1918, allocations: 220.1 kB / 448.5 MB, free: 18.72 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.1918, allocations: 6.094 kB / 448.5 MB, free: 18.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.1918, allocations: 3.656 kB / 448.5 MB, free: 18.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002345/0.1921, allocations: 53.27 kB / 448.5 MB, free: 18.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.1922, allocations: 32.38 kB / 448.6 MB, free: 18.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001555/0.1938, allocations: 2.726 MB / 451.3 MB, free: 16.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.358e-05/0.1939, allocations: 16.05 kB / 451.3 MB, free: 16.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/0.1939, allocations: 10.12 kB / 451.3 MB, free: 16.11 MB / 366.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.0001019/0.194, allocations: 139 kB / 451.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.421e-05/0.194, allocations: 12.42 kB / 451.5 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.374e-05/0.1941, allocations: 17.03 kB / 451.5 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.1941, allocations: 4.062 kB / 451.5 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.1941, allocations: 1.188 kB / 451.5 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.1941, allocations: 1.922 kB / 451.5 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002315/0.1943, allocations: 162.5 kB / 451.6 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.1943, allocations: 5.406 kB / 451.6 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001786/0.1945, allocations: 28.94 kB / 451.7 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001315/0.1946, allocations: 45.81 kB / 451.7 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.1946, allocations: 6.719 kB / 451.7 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001484/0.1961, allocations: 2.729 MB / 454.5 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.1961, allocations: 1.156 kB / 454.5 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003664/0.1965, allocations: 374.8 kB / 454.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.808e-05/0.1965, allocations: 14.48 kB / 454.8 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.914e-05/0.1965, allocations: 7 kB / 454.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.1966, allocations: 2.625 kB / 454.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.667e-05/0.1967, allocations: 17.12 kB / 454.9 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.719e-06/0.1967, allocations: 7.828 kB / 454.9 MB, free: 12.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.319e-05/0.1967, allocations: 100.6 kB / 455 MB, free: 12.76 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1967, allocations: 0 / 455 MB, free: 12.76 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004586/0.1972, allocations: 51.61 kB / 455 MB, free: 12.75 MB / 366.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.0001005/0.1973, allocations: 103.2 kB / 455.1 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000511/0.1978, allocations: 346.2 kB / 455.5 MB, free: 12.4 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.1978, allocations: 1.188 kB / 455.5 MB, free: 12.4 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002507/0.1981, allocations: 287.9 kB / 455.7 MB, free: 12.15 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004756/0.1985, allocations: 35.16 kB / 455.8 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007796/0.1993, allocations: 0.5087 MB / 456.3 MB, free: 11.78 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.124e-05/0.1994, allocations: 115.2 kB / 456.4 MB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.852e-05/0.1995, allocations: 9.5 kB / 456.4 MB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.376e-05/0.1995, allocations: 17.91 kB / 456.4 MB, free: 11.68 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1995, allocations: 0.7656 kB / 456.4 MB, free: 11.68 MB / 366.1 MB Notification: Performance of Templates: time 0.006289/0.2058, allocations: 2.057 MB / 458.5 MB, free: 11.43 MB / 366.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: 4.973637409508228]