Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CoupledClutches.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.001818/0.001818, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 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.002202/0.002202, allocations: 207.5 kB / 23.72 MB, free: 4.391 MB / 14.72 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.526/1.526, allocations: 230.5 MB / 257.4 MB, free: 7.758 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Mechanics.Rotational.Examples.CoupledClutches,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1500,variableFilter="time|J1.phi|J1.w|clutch1.phi_rel|clutch1.w_rel|clutch2.phi_rel|clutch2.w_rel|clutch3.phi_rel|clutch3.w_rel|clutch1.mode|clutch1.startBackward|clutch1.startForward|clutch2.mode|clutch2.startBackward|clutch2.startForward|clutch3.mode|clutch3.startBackward|clutch3.startForward",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CoupledClutches") translateModel(Modelica.Mechanics.Rotational.Examples.CoupledClutches,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1500,variableFilter="time|J1.phi|J1.w|clutch1.phi_rel|clutch1.w_rel|clutch2.phi_rel|clutch2.w_rel|clutch3.phi_rel|clutch3.w_rel|clutch1.mode|clutch1.startBackward|clutch1.startForward|clutch2.mode|clutch2.startBackward|clutch2.startForward|clutch3.mode|clutch3.startBackward|clutch3.startForward",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CoupledClutches") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00216/0.00216, allocations: 63.91 kB / 378.2 MB, free: 2.289 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2604/0.2625, allocations: 53.41 MB / 431.6 MB, free: 6.492 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.CoupledClutches): time 0.00523/0.2678, allocations: 2.999 MB / 434.6 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002587/0.2704, allocations: 1.212 MB / 435.8 MB, free: 2.266 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003802/0.2707, allocations: 11.94 kB / 435.9 MB, free: 2.254 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004617/0.2712, allocations: 99.09 kB / 436 MB, free: 2.156 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006888/0.2719, allocations: 222.4 kB / 436.2 MB, free: 1.938 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007345/0.2726, allocations: 275.5 kB / 436.4 MB, free: 1.668 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001082/0.2737, allocations: 0.8503 MB / 437.3 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000248/0.274, allocations: 105.1 kB / 437.4 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007151/0.2747, allocations: 390.8 kB / 437.8 MB, free: 336 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007031/0.2754, allocations: 378.6 kB / 438.1 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001817/0.2756, allocations: 64 kB / 438.2 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003341/0.2759, allocations: 124 kB / 438.3 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002622/0.2761, allocations: 183.4 kB / 438.5 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003483/0.2765, allocations: 266.9 kB / 438.8 MB, free: 15.33 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001055/0.2776, allocations: 0.8042 MB / 439.6 MB, free: 14.53 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.2776, allocations: 0 / 439.6 MB, free: 14.53 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.2776, allocations: 0 / 439.6 MB, free: 14.53 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.643e-05/0.2776, allocations: 0 / 439.6 MB, free: 14.53 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.002452/0.2801, allocations: 0.8979 MB / 440.5 MB, free: 13.6 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.2801, allocations: 11.98 kB / 440.5 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004012/0.2805, allocations: 88.53 kB / 440.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007777/0.2813, allocations: 336.4 kB / 440.9 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.252e-05/0.2813, allocations: 37.38 kB / 440.9 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000117/0.2814, allocations: 48.33 kB / 441 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00131/0.2828, allocations: 0.6152 MB / 441.6 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.444e-05/0.2828, allocations: 7.938 kB / 441.6 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.761e-05/0.2829, allocations: 24 kB / 441.6 MB, free: 12.4 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.423e-05/0.2829, allocations: 12 kB / 441.6 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001401/0.2843, allocations: 0.5738 MB / 442.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002686/0.287, allocations: 1.123 MB / 443.3 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001195/0.2882, allocations: 486.7 kB / 443.8 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006817/0.2888, allocations: 294.7 kB / 444.1 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.632e-05/0.2889, allocations: 8.656 kB / 444.1 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.878e-05/0.2889, allocations: 39.22 kB / 444.1 MB, free: 9.824 MB / 350.1 MB Notification: Performance of pre-optimization done (n=67): time 2.705e-06/0.2889, allocations: 0 / 444.1 MB, free: 9.824 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.007121/0.2961, allocations: 2.524 MB / 446.7 MB, free: 7.258 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.671e-05/0.2961, allocations: 64.05 kB / 446.7 MB, free: 7.184 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004853/0.2966, allocations: 349.6 kB / 447.1 MB, free: 6.836 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.024e-05/0.2967, allocations: 53.7 kB / 447.1 MB, free: 6.777 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000176/0.2969, allocations: 197.6 kB / 447.3 MB, free: 6.578 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002603/0.2971, allocations: 261.9 kB / 447.6 MB, free: 6.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002574/0.2974, allocations: 130.6 kB / 447.7 MB, free: 6.184 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001818/0.2976, allocations: 362.7 kB / 448.1 MB, free: 5.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006948/0.2982, allocations: 305.9 kB / 448.4 MB, free: 5.523 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007362/0.299, allocations: 377.4 kB / 448.7 MB, free: 5.152 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001105/0.3001, allocations: 497 kB / 449.2 MB, free: 4.656 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.3001, allocations: 7.922 kB / 449.2 MB, free: 4.648 MB / 350.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002122/0.3022, allocations: 0.9274 MB / 450.1 MB, free: 3.711 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.3022, allocations: 8 kB / 450.1 MB, free: 3.703 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.3022, allocations: 0 / 450.1 MB, free: 3.703 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001418/0.3037, allocations: 0.5708 MB / 450.7 MB, free: 3.129 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003899/0.3041, allocations: 91.89 kB / 450.8 MB, free: 3.039 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001746/0.3058, allocations: 1.112 MB / 451.9 MB, free: 1.898 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007576/0.3066, allocations: 111.8 kB / 452 MB, free: 1.789 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-05/0.3066, allocations: 23.98 kB / 452.1 MB, free: 1.766 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 24 (clutch3.mode,$PRE.clutch3.mode,clutch3.locked,clutch3.startBackward,$PRE.clutch3.startBackward,clutch3.startForward,$PRE.clutch3.startForward,clutch3.free,clutch2.mode,$PRE.clutch2.mode,clutch2.locked,clutch2.startBackward,$PRE.clutch2.startBackward,clutch2.startForward,$PRE.clutch2.startForward,clutch2.free,clutch1.mode,$PRE.clutch1.mode,clutch1.locked,clutch1.startBackward,$PRE.clutch1.startBackward,clutch1.startForward,$PRE.clutch1.startForward,clutch1.free) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0003134/0.3069, allocations: 184 kB / 452.2 MB, free: 1.578 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000145/0.3071, allocations: 63.5 kB / 452.3 MB, free: 1.516 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001748/0.3073, allocations: 76.97 kB / 452.4 MB, free: 1.438 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/0.3073, allocations: 8 kB / 452.4 MB, free: 1.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.3073, allocations: 4 kB / 452.4 MB, free: 1.426 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.3073, allocations: 7.984 kB / 452.4 MB, free: 1.418 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003104/0.3104, allocations: 1.392 MB / 453.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.309e-06/0.3104, allocations: 0 / 453.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004444/0.3108, allocations: 91.89 kB / 453.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001326/0.3122, allocations: 0.5395 MB / 454.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-05/0.3122, allocations: 23.97 kB / 454.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001618/0.3139, allocations: 1.073 MB / 455.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3139, allocations: 0 / 455.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002771/0.3166, allocations: 1.308 MB / 456.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003431/0.317, allocations: 127.5 kB / 456.9 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001306/0.3171, allocations: 24 kB / 457 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006939/0.3178, allocations: 99.88 kB / 457.1 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003087/0.3181, allocations: 132.4 kB / 457.2 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.942e-05/0.3182, allocations: 35.95 kB / 457.2 MB, free: 12.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003019/0.3185, allocations: 251.2 kB / 457.5 MB, free: 12.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3185, allocations: 0 / 457.5 MB, free: 12.25 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000574/0.319, allocations: 160 kB / 457.6 MB, free: 12.09 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (clutch1.phi_rel,clutch1.w_rel,clutch2.phi_rel,clutch2.w_rel,J3.phi,J3.w,clutch3.phi_rel,clutch3.w_rel) * Number of discrete variables: 15 (clutch1.free,clutch1.startForward,clutch1.startBackward,clutch1.locked,clutch1.mode,clutch2.free,clutch2.startForward,clutch2.startBackward,clutch2.locked,clutch2.mode,clutch3.free,clutch3.startForward,clutch3.startBackward,clutch3.locked,clutch3.mode) * Number of discrete states: 9 (clutch3.mode,clutch3.startForward,clutch1.mode,clutch1.startForward,clutch1.startBackward,clutch2.mode,clutch2.startForward,clutch2.startBackward,clutch3.startBackward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001545/0.3206, allocations: 421.5 kB / 458 MB, free: 11.8 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001763/0.3224, allocations: 0.7153 MB / 458.8 MB, free: 11.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3224, allocations: 4 kB / 458.8 MB, free: 11.08 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009518/0.3233, allocations: 420.6 kB / 459.2 MB, free: 10.67 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007867/0.3241, allocations: 120 kB / 459.3 MB, free: 10.56 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00281/0.3269, allocations: 1.423 MB / 460.7 MB, free: 9.109 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002849/0.3272, allocations: 267.4 kB / 461 MB, free: 8.816 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002129/0.3274, allocations: 48.39 kB / 461 MB, free: 8.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001534/0.3276, allocations: 55.41 kB / 461.1 MB, free: 8.715 MB / 366.1 MB Notification: Performance of SimCode: time 1.032e-06/0.3276, allocations: 4 kB / 461.1 MB, free: 8.711 MB / 366.1 MB Notification: Performance of Templates: time 0.02198/0.3495, allocations: 12.34 MB / 473.4 MB, free: 12.47 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CoupledClutches.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CoupledClutches.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CoupledClutches.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CoupledClutches.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CoupledClutches.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CoupledClutches -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CoupledClutches.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CoupledClutches_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/CoupledClutches/CoupledClutches.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CoupledClutches.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.080338317900896]