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.001412/0.001412, allocations: 84.25 kB / 22.21 MB, free: 2.285 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.001658/0.001658, allocations: 167.3 kB / 25.61 MB, free: 8.473 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 0.9997/0.9997, allocations: 177 MB / 205.9 MB, free: 4.441 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.1575/0.1575, allocations: 34.88 MB / 297.4 MB, free: 13.32 MB / 282.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.934e-06/1.934e-06, allocations: 0 / 380 MB, free: 22.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.803e-05/1.997e-05, allocations: 2.844 kB / 380 MB, free: 22.75 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.001988/0.002008, allocations: 1.877 MB / 381.9 MB, free: 20.87 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.000311/0.002319, allocations: 151.4 kB / 382 MB, free: 20.72 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.71e-05/0.002396, allocations: 4 kB / 382 MB, free: 20.71 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 5.988e-05/0.002456, allocations: 19.78 kB / 382 MB, free: 20.7 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001165/0.002572, allocations: 59.44 kB / 382.1 MB, free: 20.64 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001096/0.002682, allocations: 35.94 kB / 382.1 MB, free: 20.6 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001131/0.002795, allocations: 191 kB / 382.3 MB, free: 20.41 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.002913, allocations: 41.72 kB / 382.4 MB, free: 20.38 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.449e-05/0.003007, allocations: 115.8 kB / 382.5 MB, free: 20.26 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.372e-05/0.003091, allocations: 47.88 kB / 382.5 MB, free: 20.21 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.475e-05/0.003116, allocations: 16 kB / 382.5 MB, free: 20.2 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.771e-05/0.003133, allocations: 16 kB / 382.5 MB, free: 20.18 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.49e-05/0.003158, allocations: 35.84 kB / 382.6 MB, free: 20.15 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.19e-05/0.0032, allocations: 59.89 kB / 382.6 MB, free: 20.09 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001264/0.003327, allocations: 115.6 kB / 382.8 MB, free: 19.98 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.003328, allocations: 0 / 382.8 MB, free: 19.98 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.003329, allocations: 0 / 382.8 MB, free: 19.98 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.003334, allocations: 0 / 382.8 MB, free: 19.98 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.0003106/0.003644, allocations: 496.1 kB / 383.2 MB, free: 19.45 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.003676, allocations: 8.031 kB / 383.2 MB, free: 19.44 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.791e-05/0.003714, allocations: 28.84 kB / 383.3 MB, free: 19.41 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.003814, allocations: 148.4 kB / 383.4 MB, free: 19.24 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.003826, allocations: 16.7 kB / 383.4 MB, free: 19.23 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/0.003848, allocations: 20.36 kB / 383.5 MB, free: 19.21 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.00396, allocations: 135.8 kB / 383.6 MB, free: 19.06 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.003974, allocations: 4.141 kB / 383.6 MB, free: 19.06 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.003985, allocations: 8.375 kB / 383.6 MB, free: 19.05 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.003992, allocations: 4.375 kB / 383.6 MB, free: 19.05 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.315e-05/0.004065, allocations: 55.73 kB / 383.7 MB, free: 19 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004184/0.004483, allocations: 0.5572 MB / 384.2 MB, free: 18.41 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/0.004589, allocations: 114.1 kB / 384.3 MB, free: 18.27 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.435e-05/0.004624, allocations: 47.47 kB / 384.4 MB, free: 18.21 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.472e-06/0.00463, allocations: 0 / 384.4 MB, free: 18.21 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.671e-05/0.004647, allocations: 45.33 kB / 384.4 MB, free: 18.16 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 9.62e-07/0.004648, allocations: 0 / 384.4 MB, free: 18.16 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003675/0.005015, allocations: 192.7 kB / 384.6 MB, free: 17.96 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.509e-05/0.00504, allocations: 81.11 kB / 384.7 MB, free: 17.86 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.437e-05/0.005105, allocations: 191.7 kB / 384.9 MB, free: 17.66 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.965e-06/0.005113, allocations: 29.7 kB / 384.9 MB, free: 17.62 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.036e-05/0.005163, allocations: 183 kB / 385.1 MB, free: 17.44 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.282e-05/0.005186, allocations: 59.52 kB / 385.1 MB, free: 17.38 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.368e-05/0.00522, allocations: 39.36 kB / 385.2 MB, free: 17.33 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.887e-05/0.005269, allocations: 0.5039 MB / 385.7 MB, free: 16.82 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.878e-05/0.005287, allocations: 23.92 kB / 385.7 MB, free: 16.79 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.329e-05/0.005341, allocations: 109.8 kB / 385.8 MB, free: 16.64 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.83e-05/0.005419, allocations: 148.7 kB / 386 MB, free: 16.46 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.005421, allocations: 0 / 386 MB, free: 16.46 MB / 314.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001526/0.005574, allocations: 180.8 kB / 386.1 MB, free: 16.27 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.005589, allocations: 13.8 kB / 386.1 MB, free: 16.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.005595, allocations: 8 kB / 386.2 MB, free: 16.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001263/0.005722, allocations: 47.34 kB / 386.2 MB, free: 16.19 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.269e-05/0.005794, allocations: 35.92 kB / 386.2 MB, free: 16.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009547/0.006749, allocations: 3.726 MB / 390 MB, free: 12.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.973e-05/0.006789, allocations: 11.89 kB / 390 MB, free: 12.19 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.006796, allocations: 16 kB / 390 MB, free: 12.17 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 7.381e-05/0.00687, allocations: 164.5 kB / 390.1 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.316e-05/0.006903, allocations: 19.89 kB / 390.2 MB, free: 11.98 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.026e-05/0.006924, allocations: 20.89 kB / 390.2 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.006926, allocations: 4 kB / 390.2 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.006929, allocations: 0 / 390.2 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.006934, allocations: 0 / 390.2 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001348/0.007069, allocations: 141.1 kB / 390.3 MB, free: 11.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.007071, allocations: 0 / 390.3 MB, free: 11.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.094e-05/0.007152, allocations: 31.98 kB / 390.4 MB, free: 11.76 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.404e-05/0.007246, allocations: 39.3 kB / 390.4 MB, free: 11.71 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.007255, allocations: 15.94 kB / 390.4 MB, free: 11.7 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000848/0.008103, allocations: 3.711 MB / 394.1 MB, free: 7.762 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.02e-07/0.008104, allocations: 0 / 394.1 MB, free: 7.762 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001887/0.008292, allocations: 434.4 kB / 394.5 MB, free: 7.309 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.193e-06/0.0083, allocations: 11.89 kB / 394.6 MB, free: 7.297 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.899e-06/0.008309, allocations: 4.062 kB / 394.6 MB, free: 7.293 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.546e-05/0.008365, allocations: 8 kB / 394.6 MB, free: 7.285 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.633e-05/0.008381, allocations: 11.92 kB / 394.6 MB, free: 7.273 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.008386, allocations: 3.984 kB / 394.6 MB, free: 7.27 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.443e-05/0.00842, allocations: 144.6 kB / 394.7 MB, free: 7.129 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.00842, allocations: 0 / 394.7 MB, free: 7.129 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002568/0.008677, allocations: 55.89 kB / 394.8 MB, free: 7.074 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 6.23e-05/0.008739, allocations: 107.6 kB / 394.9 MB, free: 6.961 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002494/0.008989, allocations: 439.3 kB / 395.3 MB, free: 6.492 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.32e-07/0.00899, allocations: 0 / 395.3 MB, free: 6.492 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001268/0.009116, allocations: 399.9 kB / 395.7 MB, free: 6.062 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002924/0.009409, allocations: 27.98 kB / 395.7 MB, free: 6.035 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000645/0.01005, allocations: 0.5171 MB / 396.3 MB, free: 5.484 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.241e-05/0.01009, allocations: 71.98 kB / 396.3 MB, free: 5.395 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.481e-05/0.01011, allocations: 9.5 kB / 396.3 MB, free: 5.387 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.185e-05/0.01016, allocations: 98.17 kB / 396.4 MB, free: 5.289 MB / 314.7 MB Notification: Performance of SimCode: time 5.571e-06/0.01017, allocations: 0 / 396.4 MB, free: 5.289 MB / 314.7 MB Notification: Performance of Templates: time 0.003419/0.01359, allocations: 2.298 MB / 398.7 MB, free: 3.078 MB / 314.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.2818417167291045]