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.001423/0.001423, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001839/0.001839, allocations: 160.3 kB / 24.91 MB, free: 8.77 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.9929/0.9929, allocations: 177 MB / 205.2 MB, free: 5.082 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.2765/0.2765, allocations: 34.86 MB / 296.6 MB, free: 484 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.843e-06/1.843e-06, allocations: 0 / 325.9 MB, free: 7.172 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.764e-05/2.949e-05, allocations: 6.938 kB / 325.9 MB, free: 7.168 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003777/0.003806, allocations: 1.923 MB / 327.9 MB, free: 5.23 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005972/0.004403, allocations: 155.4 kB / 328 MB, free: 5.078 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/0.004518, allocations: 4 kB / 328 MB, free: 5.074 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 7.879e-05/0.004597, allocations: 19.73 kB / 328 MB, free: 5.055 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001865/0.004783, allocations: 59.48 kB / 328.1 MB, free: 4.996 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001667/0.00495, allocations: 35.94 kB / 328.1 MB, free: 4.961 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002594/0.005209, allocations: 199.6 kB / 328.3 MB, free: 4.766 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001519/0.005361, allocations: 42.42 kB / 328.4 MB, free: 4.727 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002016/0.005563, allocations: 107.8 kB / 328.5 MB, free: 4.621 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001462/0.005709, allocations: 55.81 kB / 328.5 MB, free: 4.566 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.588e-05/0.005745, allocations: 16 kB / 328.5 MB, free: 4.551 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.162e-05/0.005776, allocations: 16 kB / 328.6 MB, free: 4.535 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.558e-05/0.005812, allocations: 27.91 kB / 328.6 MB, free: 4.508 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.782e-05/0.00589, allocations: 67.83 kB / 328.6 MB, free: 4.441 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002223/0.006112, allocations: 119.5 kB / 328.8 MB, free: 4.324 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.006117, allocations: 0 / 328.8 MB, free: 4.324 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.006119, allocations: 4 kB / 328.8 MB, free: 4.32 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.006125, allocations: 0 / 328.8 MB, free: 4.32 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.0004848/0.00661, allocations: 354 kB / 329.1 MB, free: 3.945 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.006649, allocations: 12.02 kB / 329.1 MB, free: 3.934 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.026e-05/0.006709, allocations: 28.92 kB / 329.2 MB, free: 3.906 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001894/0.006898, allocations: 146.8 kB / 329.3 MB, free: 3.738 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/0.006919, allocations: 12.7 kB / 329.3 MB, free: 3.727 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.614e-05/0.006955, allocations: 16.38 kB / 329.3 MB, free: 3.711 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002026/0.007158, allocations: 138.8 kB / 329.5 MB, free: 3.566 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.007175, allocations: 4.188 kB / 329.5 MB, free: 3.562 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.007192, allocations: 8.375 kB / 329.5 MB, free: 3.555 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.719e-06/0.007201, allocations: 4.375 kB / 329.5 MB, free: 3.551 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.441e-05/0.007296, allocations: 43.91 kB / 329.5 MB, free: 3.508 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006661/0.007962, allocations: 411.8 kB / 329.9 MB, free: 3.086 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001676/0.008129, allocations: 93.12 kB / 330 MB, free: 2.977 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.191e-05/0.008181, allocations: 29.7 kB / 330 MB, free: 2.941 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.115e-05/0.008192, allocations: 4 kB / 330 MB, free: 2.938 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.00822, allocations: 38.56 kB / 330.1 MB, free: 2.891 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 2.084e-06/0.008222, allocations: 0 / 330.1 MB, free: 2.891 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005578/0.00878, allocations: 171.3 kB / 330.3 MB, free: 2.711 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/0.008823, allocations: 85.09 kB / 330.3 MB, free: 2.609 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.929e-05/0.008922, allocations: 138.6 kB / 330.5 MB, free: 2.461 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.008943, allocations: 25.7 kB / 330.5 MB, free: 2.43 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.653e-05/0.00901, allocations: 128.3 kB / 330.6 MB, free: 2.301 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.432e-05/0.009054, allocations: 59.47 kB / 330.7 MB, free: 2.242 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.131e-05/0.009115, allocations: 41.69 kB / 330.7 MB, free: 2.195 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.009216, allocations: 326.8 kB / 331 MB, free: 1.867 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.373e-05/0.00925, allocations: 12 kB / 331.1 MB, free: 1.855 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.927e-05/0.009329, allocations: 88.53 kB / 331.1 MB, free: 1.738 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000134/0.009463, allocations: 121.2 kB / 331.3 MB, free: 1.59 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.009467, allocations: 0 / 331.3 MB, free: 1.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002773/0.009744, allocations: 165.9 kB / 331.4 MB, free: 1.418 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.009761, allocations: 5.25 kB / 331.4 MB, free: 1.414 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.009771, allocations: 4 kB / 331.4 MB, free: 1.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001994/0.00997, allocations: 37.69 kB / 331.5 MB, free: 1.367 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/0.01013, allocations: 46.03 kB / 331.5 MB, free: 1.324 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001877/0.01201, allocations: 2.531 MB / 334 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.128e-05/0.01209, allocations: 19.83 kB / 334.1 MB, free: 14.6 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.705e-05/0.01213, allocations: 8 kB / 334.1 MB, free: 14.59 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 0.0001054/0.01223, allocations: 129.9 kB / 334.2 MB, free: 14.45 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.582e-05/0.01228, allocations: 15.92 kB / 334.2 MB, free: 14.44 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.694e-05/0.0123, allocations: 12.78 kB / 334.2 MB, free: 14.43 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.01231, allocations: 4 kB / 334.2 MB, free: 14.42 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.01231, allocations: 0 / 334.2 MB, free: 14.42 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.01232, allocations: 4 kB / 334.2 MB, free: 14.42 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001702/0.01249, allocations: 109.8 kB / 334.3 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.01249, allocations: 0 / 334.3 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000128/0.01262, allocations: 27.98 kB / 334.4 MB, free: 14.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.566e-05/0.01271, allocations: 53.56 kB / 334.4 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.178e-06/0.01272, allocations: 4 kB / 334.4 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001159/0.01388, allocations: 2.528 MB / 336.9 MB, free: 11.5 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.01388, allocations: 144 / 336.9 MB, free: 11.5 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001941/0.01408, allocations: 310.4 kB / 337.3 MB, free: 11.18 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.486e-06/0.01409, allocations: 11.95 kB / 337.3 MB, free: 11.17 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.548e-06/0.0141, allocations: 4 kB / 337.3 MB, free: 11.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.133e-05/0.01418, allocations: 4 kB / 337.3 MB, free: 11.16 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.111e-05/0.0142, allocations: 11.97 kB / 337.3 MB, free: 11.15 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.571e-06/0.0142, allocations: 12 kB / 337.3 MB, free: 11.14 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.981e-05/0.01422, allocations: 24.83 kB / 337.3 MB, free: 11.11 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01422, allocations: 0 / 337.3 MB, free: 11.11 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000264/0.01449, allocations: 55.89 kB / 337.4 MB, free: 11.05 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.438e-05/0.01457, allocations: 80.36 kB / 337.5 MB, free: 10.97 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002904/0.01486, allocations: 330.2 kB / 337.8 MB, free: 10.62 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.01487, allocations: 0 / 337.8 MB, free: 10.62 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001366/0.015, allocations: 282 kB / 338 MB, free: 10.31 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002309/0.01524, allocations: 32.36 kB / 338.1 MB, free: 10.29 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006186/0.01585, allocations: 421.9 kB / 338.5 MB, free: 9.844 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.929e-05/0.0159, allocations: 79.92 kB / 338.6 MB, free: 9.746 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.201e-05/0.01594, allocations: 13.48 kB / 338.6 MB, free: 9.734 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.617e-05/0.016, allocations: 71.36 kB / 338.7 MB, free: 9.664 MB / 314.7 MB Notification: Performance of SimCode: time 1.143e-06/0.016, allocations: 0 / 338.7 MB, free: 9.664 MB / 314.7 MB Notification: Performance of Templates: time 0.003825/0.01983, allocations: 2.336 MB / 341 MB, free: 7.41 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 -s gbode -gbm=radauIIA3 -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: 2.9334357604384422]