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.001229/0.001229, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001277/0.001277, allocations: 163.9 kB / 25.61 MB, free: 8.582 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 1.04/1.04, allocations: 177.1 MB / 206.1 MB, free: 4.477 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.1689/0.1689, allocations: 34.26 MB / 296.9 MB, free: 13.91 MB / 282.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.503e-06/1.503e-06, allocations: 0 / 379.3 MB, free: 23.42 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.756e-05/2.906e-05, allocations: 2.312 kB / 379.3 MB, free: 23.42 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.002401/0.00243, allocations: 1.869 MB / 381.1 MB, free: 21.53 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003634/0.002793, allocations: 155.4 kB / 381.3 MB, free: 21.38 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.503e-05/0.002878, allocations: 4 kB / 381.3 MB, free: 21.38 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 6.685e-05/0.002945, allocations: 27.67 kB / 381.3 MB, free: 21.35 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001246/0.00307, allocations: 55.48 kB / 381.4 MB, free: 21.29 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001437/0.003214, allocations: 35.94 kB / 381.4 MB, free: 21.26 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00015/0.003364, allocations: 195 kB / 381.6 MB, free: 21.07 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001545/0.003518, allocations: 33.8 kB / 381.6 MB, free: 21.04 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001472/0.003665, allocations: 111.8 kB / 381.7 MB, free: 20.93 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.003776, allocations: 51.88 kB / 381.8 MB, free: 20.88 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.957e-05/0.003805, allocations: 12 kB / 381.8 MB, free: 20.86 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.018e-05/0.003825, allocations: 16 kB / 381.8 MB, free: 20.85 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.454e-05/0.00386, allocations: 35.84 kB / 381.9 MB, free: 20.81 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.106e-05/0.003911, allocations: 59.91 kB / 381.9 MB, free: 20.75 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001821/0.004093, allocations: 119.5 kB / 382 MB, free: 20.64 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.004096, allocations: 0 / 382 MB, free: 20.64 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.004097, allocations: 0 / 382 MB, free: 20.64 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.004104, allocations: 0 / 382 MB, free: 20.64 MB / 314.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.000429/0.004533, allocations: 492.1 kB / 382.5 MB, free: 20.11 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.004579, allocations: 8.031 kB / 382.5 MB, free: 20.11 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.045e-05/0.00463, allocations: 32.84 kB / 382.6 MB, free: 20.07 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/0.004781, allocations: 148.4 kB / 382.7 MB, free: 19.9 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.004796, allocations: 16.7 kB / 382.7 MB, free: 19.89 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.171e-05/0.004828, allocations: 12.38 kB / 382.7 MB, free: 19.88 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.004979, allocations: 135.8 kB / 382.9 MB, free: 19.73 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.004994, allocations: 8.141 kB / 382.9 MB, free: 19.72 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.005005, allocations: 8.312 kB / 382.9 MB, free: 19.71 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.005013, allocations: 4.375 kB / 382.9 MB, free: 19.71 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.967e-05/0.005072, allocations: 55.88 kB / 382.9 MB, free: 19.66 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004488/0.005521, allocations: 0.5572 MB / 383.5 MB, free: 19.07 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001167/0.005638, allocations: 110.1 kB / 383.6 MB, free: 18.93 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.412e-05/0.005672, allocations: 35.36 kB / 383.6 MB, free: 18.89 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.736e-06/0.005681, allocations: 4 kB / 383.6 MB, free: 18.89 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.767e-05/0.005698, allocations: 45.31 kB / 383.7 MB, free: 18.83 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 1.583e-06/0.0057, allocations: 0 / 383.7 MB, free: 18.83 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004085/0.006108, allocations: 201.1 kB / 383.9 MB, free: 18.62 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.38e-05/0.006132, allocations: 84.98 kB / 384 MB, free: 18.52 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.935e-05/0.006201, allocations: 204.7 kB / 384.2 MB, free: 18.3 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.504e-06/0.006209, allocations: 25.7 kB / 384.2 MB, free: 18.27 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.619e-05/0.006255, allocations: 175 kB / 384.4 MB, free: 18.1 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.469e-05/0.00628, allocations: 55.53 kB / 384.4 MB, free: 18.04 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.933e-05/0.006319, allocations: 51.34 kB / 384.5 MB, free: 17.98 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.936e-05/0.006379, allocations: 0.4961 MB / 385 MB, free: 17.48 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.979e-05/0.006398, allocations: 15.98 kB / 385 MB, free: 17.46 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.953e-05/0.006448, allocations: 115.7 kB / 385.1 MB, free: 17.31 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.782e-05/0.006536, allocations: 148.7 kB / 385.2 MB, free: 17.12 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.006538, allocations: 0 / 385.2 MB, free: 17.12 MB / 314.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001886/0.006727, allocations: 189 kB / 385.4 MB, free: 16.92 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.006741, allocations: 10.19 kB / 385.4 MB, free: 16.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.006747, allocations: 256 / 385.4 MB, free: 16.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001517/0.006899, allocations: 55.28 kB / 385.5 MB, free: 16.85 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.957e-05/0.006978, allocations: 35.98 kB / 385.5 MB, free: 16.82 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001189/0.008167, allocations: 3.722 MB / 389.2 MB, free: 12.86 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.074e-05/0.008238, allocations: 19.89 kB / 389.3 MB, free: 12.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.824e-06/0.008246, allocations: 4 kB / 389.3 MB, free: 12.84 MB / 314.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 8.905e-05/0.008335, allocations: 164.5 kB / 389.4 MB, free: 12.67 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.656e-05/0.008371, allocations: 19.89 kB / 389.4 MB, free: 12.65 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.151e-05/0.008393, allocations: 16.78 kB / 389.5 MB, free: 12.63 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.008395, allocations: 4.094 kB / 389.5 MB, free: 12.63 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.168e-06/0.008404, allocations: 4 kB / 389.5 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-06/0.008412, allocations: 3.984 kB / 389.5 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000147/0.008559, allocations: 141.1 kB / 389.6 MB, free: 12.46 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.008563, allocations: 4 kB / 389.6 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.745e-05/0.008651, allocations: 27.92 kB / 389.6 MB, free: 12.43 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.915e-05/0.00875, allocations: 47.34 kB / 389.7 MB, free: 12.37 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.008757, allocations: 3.938 kB / 389.7 MB, free: 12.37 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001126/0.009883, allocations: 3.715 MB / 393.4 MB, free: 8.426 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.009884, allocations: 0 / 393.4 MB, free: 8.426 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002384/0.01012, allocations: 436.5 kB / 393.8 MB, free: 7.973 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.325e-06/0.01013, allocations: 11.89 kB / 393.8 MB, free: 7.961 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.122e-05/0.01014, allocations: 7.984 kB / 393.8 MB, free: 7.953 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.562e-05/0.0102, allocations: 7.938 kB / 393.9 MB, free: 7.945 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.686e-05/0.01022, allocations: 11.92 kB / 393.9 MB, free: 7.934 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.01023, allocations: 8 kB / 393.9 MB, free: 7.926 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.154e-05/0.01027, allocations: 135.2 kB / 394 MB, free: 7.793 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01027, allocations: 0 / 394 MB, free: 7.793 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002985/0.01057, allocations: 55.89 kB / 394.1 MB, free: 7.738 MB / 314.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 8.301e-05/0.01065, allocations: 111.1 kB / 394.2 MB, free: 7.621 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000285/0.01094, allocations: 435.2 kB / 394.6 MB, free: 7.156 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.01094, allocations: 0 / 394.6 MB, free: 7.156 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001263/0.01107, allocations: 399.1 kB / 395 MB, free: 6.73 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003111/0.01138, allocations: 36.19 kB / 395 MB, free: 6.695 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006412/0.01202, allocations: 0.5093 MB / 395.5 MB, free: 6.152 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.154e-05/0.01206, allocations: 79.92 kB / 395.6 MB, free: 6.055 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.294e-05/0.01209, allocations: 13.48 kB / 395.6 MB, free: 6.043 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.853e-05/0.01215, allocations: 98.17 kB / 395.7 MB, free: 5.945 MB / 314.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01215, allocations: 0 / 395.7 MB, free: 5.945 MB / 314.7 MB Notification: Performance of Templates: time 0.003777/0.01593, allocations: 2.288 MB / 398 MB, free: 3.699 MB / 314.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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 240] 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","",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.3999841841869056]