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.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.001036/0.001036, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001025/0.001025, allocations: 171.9 kB / 24.92 MB, free: 8.723 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.9565/0.9565, allocations: 177.1 MB / 205.3 MB, free: 5.105 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2512/0.2512, allocations: 32.8 MB / 294.6 MB, free: 1.199 MB / 266.7 MB " [Timeout remaining time 180] 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.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.0.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.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 3.938 kB / 323.2 MB, free: 9.758 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.648e-05/2.856e-05, allocations: 4.062 kB / 323.2 MB, free: 9.754 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003123/0.003152, allocations: 1.881 MB / 325.1 MB, free: 7.859 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004706/0.003622, allocations: 159.4 kB / 325.2 MB, free: 7.703 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.848e-05/0.003721, allocations: 7.938 kB / 325.2 MB, free: 7.695 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 7.597e-05/0.003797, allocations: 15.8 kB / 325.3 MB, free: 7.68 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001888/0.003986, allocations: 63.48 kB / 325.3 MB, free: 7.617 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001682/0.004154, allocations: 31.95 kB / 325.4 MB, free: 7.586 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002201/0.004374, allocations: 191 kB / 325.5 MB, free: 7.398 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001775/0.004551, allocations: 43.05 kB / 325.6 MB, free: 7.359 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002/0.004751, allocations: 111.8 kB / 325.7 MB, free: 7.25 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001584/0.00491, allocations: 55.81 kB / 325.7 MB, free: 7.195 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.368e-05/0.004953, allocations: 15.94 kB / 325.8 MB, free: 7.18 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.92e-05/0.004983, allocations: 16 kB / 325.8 MB, free: 7.164 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.199e-05/0.005035, allocations: 31.91 kB / 325.8 MB, free: 7.133 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.748e-05/0.005112, allocations: 63.83 kB / 325.9 MB, free: 7.07 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002315/0.005344, allocations: 119.6 kB / 326 MB, free: 6.953 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.005347, allocations: 4 kB / 326 MB, free: 6.949 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.005348, allocations: 0 / 326 MB, free: 6.949 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.249e-06/0.005353, allocations: 0 / 326 MB, free: 6.949 MB / 298.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.0005175/0.005871, allocations: 357.8 kB / 326.3 MB, free: 6.57 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.005907, allocations: 8.031 kB / 326.3 MB, free: 6.562 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.34e-05/0.00596, allocations: 24.92 kB / 326.4 MB, free: 6.539 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001688/0.006129, allocations: 146.4 kB / 326.5 MB, free: 6.371 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.006145, allocations: 16.7 kB / 326.5 MB, free: 6.355 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.868e-05/0.006184, allocations: 16.38 kB / 326.5 MB, free: 6.34 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.006371, allocations: 138.1 kB / 326.7 MB, free: 6.195 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.006386, allocations: 192 / 326.7 MB, free: 6.195 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.006402, allocations: 8.375 kB / 326.7 MB, free: 6.188 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.006412, allocations: 4.375 kB / 326.7 MB, free: 6.184 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.572e-05/0.006498, allocations: 45.12 kB / 326.7 MB, free: 6.141 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006155/0.007113, allocations: 415.8 kB / 327.1 MB, free: 5.715 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.007234, allocations: 85.14 kB / 327.2 MB, free: 5.613 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.452e-05/0.007269, allocations: 33.7 kB / 327.3 MB, free: 5.574 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.857e-06/0.007278, allocations: 8 kB / 327.3 MB, free: 5.566 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.007301, allocations: 38.69 kB / 327.3 MB, free: 5.52 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.783e-06/0.007303, allocations: 0 / 327.3 MB, free: 5.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003914/0.007695, allocations: 179.1 kB / 327.5 MB, free: 5.332 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/0.007739, allocations: 81.11 kB / 327.6 MB, free: 5.234 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.387e-05/0.007833, allocations: 130.6 kB / 327.7 MB, free: 5.094 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/0.007846, allocations: 29.7 kB / 327.7 MB, free: 5.059 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.702e-05/0.007913, allocations: 124.3 kB / 327.8 MB, free: 4.934 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.942e-05/0.007952, allocations: 59.47 kB / 327.9 MB, free: 4.875 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.27e-05/0.007995, allocations: 41.69 kB / 327.9 MB, free: 4.828 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.269e-05/0.008087, allocations: 330.7 kB / 328.3 MB, free: 4.496 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.027e-05/0.008108, allocations: 15.98 kB / 328.3 MB, free: 4.48 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.326e-05/0.008171, allocations: 83.2 kB / 328.4 MB, free: 4.371 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001119/0.008283, allocations: 124.3 kB / 328.5 MB, free: 4.219 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.008286, allocations: 0 / 328.5 MB, free: 4.219 MB / 298.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002011/0.008487, allocations: 159.1 kB / 328.6 MB, free: 4.051 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.008502, allocations: 4 kB / 328.6 MB, free: 4.047 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.00851, allocations: 4 kB / 328.6 MB, free: 4.043 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001847/0.008695, allocations: 45.62 kB / 328.7 MB, free: 3.992 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.866e-05/0.008794, allocations: 35.98 kB / 328.7 MB, free: 3.957 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001584/0.01038, allocations: 2.53 MB / 331.3 MB, free: 1.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.439e-05/0.01043, allocations: 19.83 kB / 331.3 MB, free: 1.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.01044, allocations: 7.938 kB / 331.3 MB, free: 1.223 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.0001009/0.01054, allocations: 125.9 kB / 331.4 MB, free: 1.09 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.039e-05/0.01057, allocations: 15.98 kB / 331.4 MB, free: 1.074 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.891e-05/0.0106, allocations: 20.72 kB / 331.4 MB, free: 1.055 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.0106, allocations: 0 / 331.4 MB, free: 1.055 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.938e-06/0.01061, allocations: 4 kB / 331.4 MB, free: 1.051 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.423e-06/0.01062, allocations: 3.984 kB / 331.4 MB, free: 1.047 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001497/0.01077, allocations: 101.8 kB / 331.5 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.01077, allocations: 4 kB / 331.5 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.386e-05/0.01086, allocations: 27.92 kB / 331.6 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001016/0.01097, allocations: 41.69 kB / 331.6 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.01098, allocations: 4 kB / 331.6 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001262/0.01224, allocations: 2.522 MB / 334.1 MB, free: 14.15 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01224, allocations: 0 / 334.1 MB, free: 14.15 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002307/0.01247, allocations: 309.5 kB / 334.4 MB, free: 13.82 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.348e-06/0.01248, allocations: 7.953 kB / 334.5 MB, free: 13.82 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.457e-05/0.01249, allocations: 11.98 kB / 334.5 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.359e-05/0.01255, allocations: 0 / 334.5 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.532e-05/0.01257, allocations: 12.02 kB / 334.5 MB, free: 13.79 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.527e-06/0.01258, allocations: 12.09 kB / 334.5 MB, free: 13.78 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.225e-05/0.0126, allocations: 20.83 kB / 334.5 MB, free: 13.76 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0126, allocations: 0 / 334.5 MB, free: 13.76 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002811/0.01288, allocations: 55.89 kB / 334.6 MB, free: 13.7 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 0.0001082/0.01299, allocations: 80.41 kB / 334.6 MB, free: 13.62 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003444/0.01334, allocations: 338.2 kB / 335 MB, free: 13.26 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.01334, allocations: 0 / 335 MB, free: 13.26 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000178/0.01352, allocations: 282 kB / 335.2 MB, free: 12.95 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002673/0.01379, allocations: 32.42 kB / 335.3 MB, free: 12.93 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009024/0.01469, allocations: 420.2 kB / 335.7 MB, free: 12.48 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.013e-05/0.01476, allocations: 83.91 kB / 335.8 MB, free: 12.38 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.579e-05/0.01481, allocations: 13.67 kB / 335.8 MB, free: 12.37 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.505e-05/0.01488, allocations: 67.36 kB / 335.8 MB, free: 12.3 MB / 314.7 MB Notification: Performance of SimCode: time 1.273e-06/0.01488, allocations: 0 / 335.8 MB, free: 12.3 MB / 314.7 MB Notification: Performance of Templates: time 0.004475/0.01936, allocations: 2.259 MB / 338.1 MB, free: 10.11 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 2.9735375330783427]