Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00126/0.00126, allocations: 81.81 kB / 21.43 MB, free: 3.066 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001474/0.001474, allocations: 164.1 kB / 24.82 MB, free: 9.211 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.096/1.096, allocations: 177 MB / 205.1 MB, free: 5.031 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2932/0.2932, allocations: 34.86 MB / 296.6 MB, free: 492 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 379.2 MB, free: 1.871 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.305e-05/3.477e-05, allocations: 6.25 kB / 379.2 MB, free: 1.863 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003612/0.003647, allocations: 1.892 MB / 381.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005518/0.004199, allocations: 147.4 kB / 381.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001158/0.004315, allocations: 4 kB / 381.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 6.831e-05/0.004383, allocations: 27.78 kB / 381.3 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001587/0.004542, allocations: 47.5 kB / 381.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001731/0.004715, allocations: 43.88 kB / 381.3 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001725/0.004887, allocations: 195 kB / 381.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/0.00504, allocations: 37.78 kB / 381.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001417/0.005182, allocations: 107.8 kB / 381.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001152/0.005297, allocations: 55.86 kB / 381.7 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.715e-05/0.005324, allocations: 19.94 kB / 381.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.1e-05/0.005345, allocations: 12 kB / 381.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.698e-05/0.005372, allocations: 27.91 kB / 381.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.369e-05/0.005426, allocations: 59.91 kB / 381.8 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001794/0.005605, allocations: 119.5 kB / 382 MB, free: 15.07 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.005611, allocations: 0 / 382 MB, free: 15.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.686e-06/0.005614, allocations: 7.984 kB / 382 MB, free: 15.06 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.005619, allocations: 0 / 382 MB, free: 15.06 MB / 362.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.0004517/0.006071, allocations: 484.2 kB / 382.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.006116, allocations: 12.03 kB / 382.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.772e-05/0.006163, allocations: 32.84 kB / 382.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/0.00631, allocations: 148.4 kB / 382.6 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.006324, allocations: 12.7 kB / 382.6 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.176e-05/0.006356, allocations: 20.38 kB / 382.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.006512, allocations: 131.8 kB / 382.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.006525, allocations: 4.141 kB / 382.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.006539, allocations: 8.375 kB / 382.8 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.006546, allocations: 12.31 kB / 382.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.627e-05/0.006622, allocations: 61.25 kB / 382.9 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000909/0.007531, allocations: 0.5494 MB / 383.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001472/0.007678, allocations: 118.1 kB / 383.5 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.018e-05/0.007718, allocations: 39.34 kB / 383.6 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.078e-05/0.007729, allocations: 4 kB / 383.6 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.007755, allocations: 41.33 kB / 383.6 MB, free: 13.26 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 2.144e-06/0.007757, allocations: 0 / 383.6 MB, free: 13.26 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004431/0.0082, allocations: 197 kB / 383.8 MB, free: 13.05 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.008241, allocations: 81.11 kB / 383.9 MB, free: 12.95 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.719e-05/0.008338, allocations: 189.8 kB / 384.1 MB, free: 12.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.082e-05/0.008349, allocations: 25.7 kB / 384.1 MB, free: 12.72 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.051e-05/0.008429, allocations: 187 kB / 384.3 MB, free: 12.53 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.288e-05/0.008462, allocations: 63.47 kB / 384.4 MB, free: 12.47 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.597e-05/0.008508, allocations: 47.2 kB / 384.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.008644, allocations: 0.5 MB / 384.9 MB, free: 11.9 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.569e-05/0.00867, allocations: 15.98 kB / 384.9 MB, free: 11.89 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.788e-05/0.008738, allocations: 110.2 kB / 385 MB, free: 11.74 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001121/0.00885, allocations: 144.7 kB / 385.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.008852, allocations: 4 kB / 385.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002245/0.009077, allocations: 184.6 kB / 385.3 MB, free: 11.36 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.009094, allocations: 8.25 kB / 385.4 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.0091, allocations: 4 kB / 385.4 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001712/0.009271, allocations: 51.34 kB / 385.4 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.974e-05/0.009361, allocations: 35.92 kB / 385.4 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001916/0.01128, allocations: 3.723 MB / 389.2 MB, free: 7.301 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.359e-05/0.01134, allocations: 15.89 kB / 389.2 MB, free: 7.285 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.226e-06/0.01135, allocations: 8 kB / 389.2 MB, free: 7.277 MB / 362.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.0001184/0.01147, allocations: 176.5 kB / 389.4 MB, free: 7.094 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.952e-05/0.01151, allocations: 19.84 kB / 389.4 MB, free: 7.074 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.909e-05/0.01154, allocations: 20.91 kB / 389.4 MB, free: 7.051 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/0.01154, allocations: 0 / 389.4 MB, free: 7.051 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.01154, allocations: 0 / 389.4 MB, free: 7.051 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.01155, allocations: 7.984 kB / 389.4 MB, free: 7.043 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001759/0.01173, allocations: 133.2 kB / 389.5 MB, free: 6.887 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.01173, allocations: 48 / 389.5 MB, free: 6.887 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.616e-05/0.01182, allocations: 35.91 kB / 389.6 MB, free: 6.852 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001087/0.01193, allocations: 43.34 kB / 389.6 MB, free: 6.801 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.01194, allocations: 11.94 kB / 389.6 MB, free: 6.789 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001816/0.01376, allocations: 3.719 MB / 393.4 MB, free: 2.848 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.01376, allocations: 160 / 393.4 MB, free: 2.848 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002757/0.01404, allocations: 426.2 kB / 393.8 MB, free: 2.402 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.335e-05/0.01405, allocations: 7.953 kB / 393.8 MB, free: 2.395 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.01406, allocations: 8 kB / 393.8 MB, free: 2.387 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.341e-05/0.01413, allocations: 8.047 kB / 393.8 MB, free: 2.379 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.459e-05/0.01415, allocations: 11.98 kB / 393.8 MB, free: 2.367 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.01416, allocations: 4 kB / 393.8 MB, free: 2.363 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.915e-05/0.01421, allocations: 140.1 kB / 393.9 MB, free: 2.227 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01421, allocations: 0 / 393.9 MB, free: 2.227 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003233/0.01453, allocations: 59.89 kB / 394 MB, free: 2.168 MB / 362.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.0001119/0.01464, allocations: 103.6 kB / 394.1 MB, free: 2.055 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000389/0.01503, allocations: 447 kB / 394.5 MB, free: 1.578 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.01503, allocations: 0.5 kB / 394.5 MB, free: 1.578 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001898/0.01522, allocations: 395.3 kB / 394.9 MB, free: 1.152 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003086/0.01553, allocations: 30.78 kB / 395 MB, free: 1.125 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008127/0.01634, allocations: 0.5135 MB / 395.5 MB, free: 0.5742 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.093e-05/0.0164, allocations: 80 kB / 395.5 MB, free: 488 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.213e-05/0.01645, allocations: 17.47 kB / 395.6 MB, free: 468 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.184e-05/0.01652, allocations: 98.17 kB / 395.7 MB, free: 368 kB / 362.7 MB Notification: Performance of SimCode: time 1.343e-06/0.01652, allocations: 0 / 395.7 MB, free: 368 kB / 362.7 MB Notification: Performance of Templates: time 0.004207/0.02073, allocations: 2.254 MB / 397.9 MB, free: 14.14 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.2658679969608784]