Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001135/0.001135, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.001046/0.001046, allocations: 165 kB / 23.79 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.008/1.008, allocations: 158.6 MB / 185.7 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1476/0.1476, allocations: 32.37 MB / 270.4 MB, free: 14.71 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 347.6 MB, free: 9.473 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.126e-05/3.302e-05, allocations: 9.344 kB / 347.6 MB, free: 9.465 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.002619/0.002652, allocations: 1.888 MB / 349.5 MB, free: 7.566 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003804/0.003032, allocations: 147.5 kB / 349.7 MB, free: 7.422 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.119e-05/0.003104, allocations: 3.938 kB / 349.7 MB, free: 7.418 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.594e-05/0.00316, allocations: 19.8 kB / 349.7 MB, free: 7.398 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001203/0.00328, allocations: 59.48 kB / 349.8 MB, free: 7.34 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001503/0.00343, allocations: 39.94 kB / 349.8 MB, free: 7.301 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001351/0.003565, allocations: 191 kB / 350 MB, free: 7.113 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.003705, allocations: 37.78 kB / 350 MB, free: 7.078 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001259/0.003831, allocations: 107.8 kB / 350.1 MB, free: 6.973 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.003947, allocations: 55.81 kB / 350.2 MB, free: 6.918 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.247e-05/0.003979, allocations: 19.94 kB / 350.2 MB, free: 6.898 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.154e-05/0.004001, allocations: 12 kB / 350.2 MB, free: 6.887 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.003e-05/0.004031, allocations: 35.91 kB / 350.2 MB, free: 6.852 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.688e-05/0.004088, allocations: 59.83 kB / 350.3 MB, free: 6.793 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001794/0.004267, allocations: 119.6 kB / 350.4 MB, free: 6.676 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.004271, allocations: 4 kB / 350.4 MB, free: 6.672 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.004271, allocations: 0 / 350.4 MB, free: 6.672 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.004277, allocations: 0 / 350.4 MB, free: 6.672 MB / 282.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.0004557/0.004733, allocations: 480.3 kB / 350.9 MB, free: 6.16 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/0.004785, allocations: 8.031 kB / 350.9 MB, free: 6.152 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.624e-05/0.004851, allocations: 36.84 kB / 350.9 MB, free: 6.117 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/0.005011, allocations: 152.3 kB / 351.1 MB, free: 5.941 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.005027, allocations: 16.64 kB / 351.1 MB, free: 5.926 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.057e-05/0.005067, allocations: 20.38 kB / 351.1 MB, free: 5.906 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002216/0.005289, allocations: 147.8 kB / 351.3 MB, free: 5.75 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/0.005306, allocations: 4.141 kB / 351.3 MB, free: 5.746 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.952e-05/0.005326, allocations: 12.38 kB / 351.3 MB, free: 5.734 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.005337, allocations: 4.375 kB / 351.3 MB, free: 5.73 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.411e-05/0.005431, allocations: 59.83 kB / 351.3 MB, free: 5.672 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007241/0.006155, allocations: 0.5762 MB / 351.9 MB, free: 5.055 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001855/0.006341, allocations: 122.1 kB / 352 MB, free: 4.91 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.917e-05/0.0064, allocations: 43.36 kB / 352.1 MB, free: 4.859 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.481e-05/0.006415, allocations: 16.06 kB / 352.1 MB, free: 4.844 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.006439, allocations: 33.39 kB / 352.1 MB, free: 4.801 MB / 282.7 MB Notification: Performance of pre-optimization done (n=14): time 2.234e-06/0.006441, allocations: 0 / 352.1 MB, free: 4.801 MB / 282.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005778/0.007019, allocations: 204.8 kB / 352.3 MB, free: 4.586 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.007051, allocations: 77.11 kB / 352.4 MB, free: 4.492 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.72e-05/0.007149, allocations: 197.8 kB / 352.6 MB, free: 4.281 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.568e-06/0.007158, allocations: 25.7 kB / 352.6 MB, free: 4.25 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.179e-05/0.00722, allocations: 175 kB / 352.8 MB, free: 4.074 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.521e-05/0.007255, allocations: 63.47 kB / 352.9 MB, free: 4.012 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.169e-05/0.007297, allocations: 43.38 kB / 352.9 MB, free: 3.961 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.062e-05/0.007368, allocations: 0.4923 MB / 353.4 MB, free: 3.457 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.262e-05/0.0074, allocations: 19.98 kB / 353.4 MB, free: 3.438 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.581e-05/0.007466, allocations: 118 kB / 353.5 MB, free: 3.281 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001162/0.007582, allocations: 160.7 kB / 353.7 MB, free: 3.082 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.007585, allocations: 0 / 353.7 MB, free: 3.082 MB / 282.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002295/0.007814, allocations: 209 kB / 353.9 MB, free: 2.863 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.007833, allocations: 8 kB / 353.9 MB, free: 2.855 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.00784, allocations: 0 / 353.9 MB, free: 2.855 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002231/0.008063, allocations: 47.36 kB / 353.9 MB, free: 2.801 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.008166, allocations: 35.92 kB / 354 MB, free: 2.766 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001702/0.009868, allocations: 3.772 MB / 357.8 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.987e-05/0.009928, allocations: 15.89 kB / 357.8 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.009943, allocations: 8 kB / 357.8 MB, free: 14.72 MB / 298.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 0.0001406/0.01008, allocations: 176.6 kB / 357.9 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.574e-05/0.01012, allocations: 19.84 kB / 358 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.255e-05/0.01014, allocations: 16.78 kB / 358 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.01014, allocations: 3.984 kB / 358 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.01015, allocations: 4 kB / 358 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.01015, allocations: 0 / 358 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001722/0.01033, allocations: 164.5 kB / 358.2 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.01033, allocations: 0 / 358.2 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.303e-05/0.01042, allocations: 27.98 kB / 358.2 MB, free: 14.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001295/0.01055, allocations: 55.38 kB / 358.2 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.01057, allocations: 3.938 kB / 358.2 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001833/0.0124, allocations: 3.772 MB / 362 MB, free: 10.19 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.0124, allocations: 7.938 kB / 362 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003312/0.01273, allocations: 442.2 kB / 362.5 MB, free: 9.723 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.042e-05/0.01274, allocations: 7.953 kB / 362.5 MB, free: 9.715 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.089e-05/0.01275, allocations: 3.938 kB / 362.5 MB, free: 9.711 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.166e-05/0.01282, allocations: 8 kB / 362.5 MB, free: 9.703 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.116e-05/0.01286, allocations: 11.97 kB / 362.5 MB, free: 9.691 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.285e-06/0.01286, allocations: 12.06 kB / 362.5 MB, free: 9.68 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.004e-05/0.01292, allocations: 138.1 kB / 362.6 MB, free: 9.547 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01292, allocations: 4 kB / 362.6 MB, free: 9.543 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003123/0.01324, allocations: 51.89 kB / 362.7 MB, free: 9.492 MB / 298.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.0001075/0.01334, allocations: 99.19 kB / 362.8 MB, free: 9.387 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004596/0.0138, allocations: 455.4 kB / 363.2 MB, free: 8.902 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.01381, allocations: 0 / 363.2 MB, free: 8.902 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002176/0.01402, allocations: 397.8 kB / 363.6 MB, free: 8.477 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003207/0.01434, allocations: 35.86 kB / 363.6 MB, free: 8.441 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009389/0.01528, allocations: 0.5138 MB / 364.2 MB, free: 7.895 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.797e-05/0.01535, allocations: 79.98 kB / 364.2 MB, free: 7.797 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.348e-05/0.01539, allocations: 13.47 kB / 364.3 MB, free: 7.785 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.484e-05/0.01543, allocations: 16.5 kB / 364.3 MB, free: 7.77 MB / 298.7 MB Notification: Performance of SimCode: time 1.002e-06/0.01543, allocations: 3.938 kB / 364.3 MB, free: 7.766 MB / 298.7 MB Notification: Performance of Templates: time 0.004417/0.01985, allocations: 2.181 MB / 366.5 MB, free: 5.621 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2483023810200393]