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.001068/0.001068, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.0009647/0.0009647, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 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.026/1.026, allocations: 177 MB / 204.8 MB, free: 5.602 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.2662/0.2662, allocations: 34.87 MB / 296.3 MB, free: 0.5547 MB / 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.483e-06/1.483e-06, allocations: 0 / 378.7 MB, free: 2.109 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.057e-05/2.205e-05, allocations: 6.25 kB / 378.7 MB, free: 2.102 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.002295/0.002317, allocations: 1.895 MB / 380.6 MB, free: 196 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003048/0.002622, allocations: 151.4 kB / 380.8 MB, free: 44 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.758e-05/0.00268, allocations: 0 / 380.8 MB, free: 44 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 5.187e-05/0.002731, allocations: 23.73 kB / 380.8 MB, free: 20 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001222/0.002854, allocations: 55.48 kB / 380.9 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001275/0.002981, allocations: 39.94 kB / 380.9 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001507/0.003132, allocations: 191 kB / 381.1 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.003254, allocations: 37.78 kB / 381.1 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.003367, allocations: 111.8 kB / 381.2 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.9e-05/0.003456, allocations: 55.81 kB / 381.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.549e-05/0.003482, allocations: 16 kB / 381.3 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.955e-05/0.003501, allocations: 12 kB / 381.3 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.77e-05/0.003529, allocations: 35.91 kB / 381.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.338e-05/0.003582, allocations: 59.83 kB / 381.4 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001539/0.003736, allocations: 119.6 kB / 381.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.003738, allocations: 0 / 381.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.003739, allocations: 0 / 381.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.003743, allocations: 0 / 381.5 MB, free: 15.3 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.0003969/0.00414, allocations: 484.2 kB / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.004174, allocations: 12.03 kB / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.751e-05/0.004221, allocations: 36.78 kB / 382 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.004358, allocations: 152.3 kB / 382.2 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.888e-06/0.004368, allocations: 12.7 kB / 382.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.773e-05/0.004396, allocations: 20.38 kB / 382.2 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.004555, allocations: 143.8 kB / 382.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.004566, allocations: 4.141 kB / 382.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.004582, allocations: 16.31 kB / 382.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.00459, allocations: 4.375 kB / 382.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.535e-05/0.004675, allocations: 66.08 kB / 382.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000535/0.00521, allocations: 0.5762 MB / 383 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001403/0.005351, allocations: 118.1 kB / 383.2 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.982e-05/0.0054, allocations: 47.34 kB / 383.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.107e-05/0.005411, allocations: 3.938 kB / 383.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.904e-05/0.00543, allocations: 37.39 kB / 383.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.082e-06/0.005432, allocations: 0 / 383.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004185/0.00585, allocations: 209 kB / 383.4 MB, free: 13.21 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.344e-05/0.005884, allocations: 81.05 kB / 383.5 MB, free: 13.11 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.764e-05/0.005981, allocations: 197.8 kB / 383.7 MB, free: 12.9 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.308e-06/0.00599, allocations: 25.7 kB / 383.7 MB, free: 12.87 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.522e-05/0.006056, allocations: 179 kB / 383.9 MB, free: 12.69 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.364e-05/0.006089, allocations: 67.45 kB / 384 MB, free: 12.62 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.246e-05/0.006132, allocations: 47.23 kB / 384 MB, free: 12.57 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.006239, allocations: 0.4884 MB / 384.5 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.389e-05/0.006273, allocations: 23.98 kB / 384.5 MB, free: 12.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.576e-05/0.006348, allocations: 118.3 kB / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001248/0.006473, allocations: 160.7 kB / 384.8 MB, free: 11.69 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.006475, allocations: 0 / 384.8 MB, free: 11.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000216/0.006691, allocations: 200.6 kB / 385 MB, free: 11.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.006704, allocations: 4.25 kB / 385 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.00671, allocations: 8.234 kB / 385 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001692/0.006879, allocations: 55.28 kB / 385.1 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.76e-05/0.006976, allocations: 35.92 kB / 385.1 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001905/0.008882, allocations: 3.764 MB / 388.9 MB, free: 7.363 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.51e-05/0.008937, allocations: 15.89 kB / 388.9 MB, free: 7.348 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.385e-06/0.008945, allocations: 8 kB / 388.9 MB, free: 7.34 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 8.129e-05/0.009027, allocations: 176.4 kB / 389.1 MB, free: 7.156 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.135e-05/0.009058, allocations: 15.91 kB / 389.1 MB, free: 7.141 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.784e-05/0.009076, allocations: 20.91 kB / 389.1 MB, free: 7.117 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-06/0.009077, allocations: 0 / 389.1 MB, free: 7.117 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.009083, allocations: 7.984 kB / 389.1 MB, free: 7.109 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.009086, allocations: 0 / 389.1 MB, free: 7.109 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001459/0.009232, allocations: 164.5 kB / 389.3 MB, free: 6.914 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.009236, allocations: 4 kB / 389.3 MB, free: 6.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.279e-05/0.009318, allocations: 31.92 kB / 389.3 MB, free: 6.879 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.712e-05/0.009406, allocations: 47.34 kB / 389.4 MB, free: 6.824 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.009415, allocations: 4 kB / 389.4 MB, free: 6.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001334/0.01075, allocations: 3.757 MB / 393.1 MB, free: 2.824 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01075, allocations: 0 / 393.1 MB, free: 2.824 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002615/0.01101, allocations: 453.6 kB / 393.6 MB, free: 2.355 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.126e-06/0.01102, allocations: 7.953 kB / 393.6 MB, free: 2.348 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.012e-05/0.01103, allocations: 7.938 kB / 393.6 MB, free: 2.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.448e-05/0.01108, allocations: 4 kB / 393.6 MB, free: 2.336 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.87e-05/0.01111, allocations: 19.91 kB / 393.6 MB, free: 2.316 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.01112, allocations: 4 kB / 393.6 MB, free: 2.312 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.482e-05/0.01116, allocations: 137.4 kB / 393.7 MB, free: 2.18 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01116, allocations: 0 / 393.7 MB, free: 2.18 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002817/0.01144, allocations: 55.89 kB / 393.8 MB, free: 2.125 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 7.208e-05/0.01152, allocations: 99.72 kB / 393.9 MB, free: 2.016 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005807/0.0121, allocations: 447.1 kB / 394.3 MB, free: 1.539 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.0121, allocations: 4 kB / 394.3 MB, free: 1.535 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001742/0.01227, allocations: 395.9 kB / 394.7 MB, free: 1.109 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002798/0.01255, allocations: 36.03 kB / 394.7 MB, free: 1.074 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007838/0.01334, allocations: 0.525 MB / 395.3 MB, free: 0.5117 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.078e-05/0.01339, allocations: 79.92 kB / 395.4 MB, free: 424 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.198e-05/0.01342, allocations: 9.484 kB / 395.4 MB, free: 412 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.369e-05/0.01344, allocations: 16.5 kB / 395.4 MB, free: 396 kB / 362.7 MB Notification: Performance of SimCode: time 9.31e-07/0.01344, allocations: 0 / 395.4 MB, free: 396 kB / 362.7 MB Notification: Performance of Templates: time 0.003682/0.01713, allocations: 2.103 MB / 397.5 MB, free: 14.32 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.244820720050484]