Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") translateModel(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001758/0.001758, allocations: 101.5 kB / 17.85 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002527/0.002527, allocations: 194 kB / 18.77 MB, free: 4.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.251/2.251, allocations: 222.9 MB / 242.5 MB, free: 13.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3301/0.3301, allocations: 44.18 MB / 336.8 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003527/0.003527, allocations: 64.33 kB / 408.4 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1821/0.1857, allocations: 60.83 MB / 469.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.004513/0.1903, allocations: 1.904 MB / 471.1 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004737/0.1908, allocations: 151.5 kB / 471.2 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.761e-05/0.1909, allocations: 0 / 471.2 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.839e-05/0.1911, allocations: 15.86 kB / 471.2 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001813/0.1913, allocations: 43.61 kB / 471.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001769/0.1915, allocations: 31.92 kB / 471.3 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002582/0.1917, allocations: 187.1 kB / 471.5 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002172/0.192, allocations: 53.7 kB / 471.6 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001144/0.1921, allocations: 59.73 kB / 471.6 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001468/0.1922, allocations: 71.69 kB / 471.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.596e-05/0.1923, allocations: 12 kB / 471.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.87e-05/0.1923, allocations: 8 kB / 471.7 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.854e-05/0.1924, allocations: 31.84 kB / 471.7 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001147/0.1925, allocations: 75.67 kB / 471.8 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002119/0.1927, allocations: 135.9 kB / 471.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.1928, allocations: 0 / 471.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1928, allocations: 0 / 471.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.1928, allocations: 0 / 471.9 MB, free: 12.04 MB / 350.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.0007879/0.1936, allocations: 459.3 kB / 472.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.568e-05/0.1937, allocations: 8.031 kB / 472.4 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.338e-05/0.1937, allocations: 24.69 kB / 472.4 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002566/0.194, allocations: 204.1 kB / 472.6 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.194, allocations: 12.7 kB / 472.6 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.389e-05/0.1941, allocations: 20.28 kB / 472.7 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004003/0.1945, allocations: 170.2 kB / 472.8 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.1946, allocations: 192 / 472.8 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.771e-05/0.1946, allocations: 7.938 kB / 472.8 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.288e-05/0.1946, allocations: 4 kB / 472.8 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002257/0.1948, allocations: 91.89 kB / 472.9 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001149/0.196, allocations: 0.615 MB / 473.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002943/0.1963, allocations: 125.2 kB / 473.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001187/0.1965, allocations: 49.7 kB / 473.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.483e-05/0.1965, allocations: 8 kB / 473.7 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.1965, allocations: 38.55 kB / 473.8 MB, free: 10.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 2.114e-06/0.1965, allocations: 0 / 473.8 MB, free: 10.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.001117/0.1977, allocations: 377.7 kB / 474.1 MB, free: 9.617 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.248e-05/0.1978, allocations: 81.11 kB / 474.2 MB, free: 9.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001717/0.1979, allocations: 138 kB / 474.3 MB, free: 9.371 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.198, allocations: 29.64 kB / 474.4 MB, free: 9.336 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.1981, allocations: 128 kB / 474.5 MB, free: 9.207 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.823e-05/0.1982, allocations: 55.19 kB / 474.5 MB, free: 9.152 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.327e-05/0.1982, allocations: 49.7 kB / 474.6 MB, free: 9.098 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.1984, allocations: 318.8 kB / 474.9 MB, free: 8.777 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.239e-05/0.1985, allocations: 35.98 kB / 474.9 MB, free: 8.742 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001439/0.1987, allocations: 104.2 kB / 475 MB, free: 8.613 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002728/0.1989, allocations: 160.5 kB / 475.2 MB, free: 8.426 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.199, allocations: 0 / 475.2 MB, free: 8.426 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005155/0.1995, allocations: 222.8 kB / 475.4 MB, free: 8.195 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/0.1995, allocations: 4 kB / 475.4 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.1995, allocations: 4.25 kB / 475.4 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003118/0.1999, allocations: 53.69 kB / 475.5 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002084/0.2001, allocations: 39.92 kB / 475.5 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002875/0.203, allocations: 2.728 MB / 478.2 MB, free: 5.098 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001566/0.2032, allocations: 15.84 kB / 478.3 MB, free: 5.082 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.875e-05/0.2032, allocations: 12 kB / 478.3 MB, free: 5.07 MB / 350.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.0001922/0.2034, allocations: 133.7 kB / 478.4 MB, free: 4.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.022e-05/0.2035, allocations: 7.906 kB / 478.4 MB, free: 4.922 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.082e-05/0.2036, allocations: 20.7 kB / 478.4 MB, free: 4.898 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.2036, allocations: 4.094 kB / 478.4 MB, free: 4.895 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.225e-05/0.2036, allocations: 4 kB / 478.4 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.2036, allocations: 0 / 478.4 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004195/0.204, allocations: 237.4 kB / 478.7 MB, free: 4.609 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.375e-06/0.2041, allocations: 4 kB / 478.7 MB, free: 4.605 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002141/0.2043, allocations: 24.08 kB / 478.7 MB, free: 4.582 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002035/0.2045, allocations: 45.64 kB / 478.7 MB, free: 4.531 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.2e-05/0.2045, allocations: 8 kB / 478.7 MB, free: 4.523 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002519/0.2071, allocations: 2.716 MB / 481.5 MB, free: 1.543 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.2071, allocations: 0 / 481.5 MB, free: 1.543 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005552/0.2077, allocations: 380.5 kB / 481.8 MB, free: 1.148 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.935e-05/0.2077, allocations: 85.02 kB / 481.9 MB, free: 1.047 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.54e-05/0.2078, allocations: 4.062 kB / 481.9 MB, free: 1.043 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/0.2079, allocations: 3.938 kB / 481.9 MB, free: 1.039 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.954e-05/0.208, allocations: 19.92 kB / 481.9 MB, free: 1.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.208, allocations: 7.984 kB / 482 MB, free: 1.012 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.842e-05/0.2081, allocations: 106 kB / 482.1 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.2081, allocations: 0 / 482.1 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006952/0.2088, allocations: 51.91 kB / 482.1 MB, free: 0.8594 MB / 350.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.0001492/0.209, allocations: 103.7 kB / 482.2 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007067/0.2097, allocations: 345.6 kB / 482.5 MB, free: 392 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.2097, allocations: 0 / 482.5 MB, free: 392 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003977/0.2101, allocations: 285.2 kB / 482.8 MB, free: 80 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007442/0.2109, allocations: 31.92 kB / 482.9 MB, free: 48 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001595/0.2125, allocations: 0.7303 MB / 483.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003496/0.2129, allocations: 0.7203 MB / 484.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.625e-05/0.2129, allocations: 15.81 kB / 484.3 MB, free: 14.52 MB / 366.1 MB Notification: Performance of SimCode: time 4.779e-06/0.2129, allocations: 4 kB / 484.3 MB, free: 14.52 MB / 366.1 MB Notification: Performance of Templates: time 0.006661/0.2196, allocations: 3.116 MB / 487.4 MB, free: 11.41 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches