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.001662/0.001662, allocations: 117.4 kB / 19.18 MB, free: 3.871 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.001874/0.001874, allocations: 206.5 kB / 22.13 MB, free: 0.9258 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.493/1.493, allocations: 230.2 MB / 255.1 MB, free: 15.25 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.002105/0.002105, allocations: 67.89 kB / 374.5 MB, free: 9.918 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1239, allocations: 53.32 MB / 427.8 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.CoupledClutches): time 0.005952/0.1299, allocations: 3.258 MB / 431.1 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2455/0.3754, allocations: 1.251 MB / 432.3 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005857/0.376, allocations: 9.656 kB / 432.4 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004549/0.3764, allocations: 100.7 kB / 432.5 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006359/0.3771, allocations: 217.4 kB / 432.7 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006739/0.3778, allocations: 270 kB / 432.9 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009023/0.3787, allocations: 0.8485 MB / 433.8 MB, free: 8.066 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002227/0.3789, allocations: 102.9 kB / 433.9 MB, free: 8.039 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004824/0.3794, allocations: 389.1 kB / 434.3 MB, free: 7.996 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004328/0.3798, allocations: 409.3 kB / 434.7 MB, free: 7.934 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000114/0.3799, allocations: 63 kB / 434.7 MB, free: 7.934 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002736/0.3802, allocations: 125.2 kB / 434.8 MB, free: 7.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001879/0.3804, allocations: 179.5 kB / 435 MB, free: 7.906 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000275/0.3806, allocations: 323.2 kB / 435.3 MB, free: 7.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001063/0.3817, allocations: 0.7971 MB / 436.1 MB, free: 7.703 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.3817, allocations: 1.219 kB / 436.1 MB, free: 7.703 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3817, allocations: 0.5312 kB / 436.1 MB, free: 7.703 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.26e-05/0.3817, allocations: 2.484 kB / 436.1 MB, free: 7.703 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.001919/0.3836, allocations: 0.9647 MB / 437.1 MB, free: 7.125 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.3837, allocations: 9.75 kB / 437.1 MB, free: 7.125 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003506/0.384, allocations: 85.62 kB / 437.2 MB, free: 7.094 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006695/0.3847, allocations: 397.9 kB / 437.6 MB, free: 6.828 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.33e-05/0.3848, allocations: 36.97 kB / 437.6 MB, free: 6.828 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/0.3849, allocations: 56.75 kB / 437.7 MB, free: 6.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001203/0.3861, allocations: 0.6163 MB / 438.3 MB, free: 6.758 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.696e-05/0.3861, allocations: 3.188 kB / 438.3 MB, free: 6.758 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.995e-05/0.3862, allocations: 19.44 kB / 438.3 MB, free: 6.758 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.391e-05/0.3862, allocations: 10.38 kB / 438.3 MB, free: 6.758 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001251/0.3874, allocations: 0.5856 MB / 438.9 MB, free: 6.594 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002492/0.3899, allocations: 1.354 MB / 440.3 MB, free: 5.863 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001102/0.391, allocations: 491.8 kB / 440.7 MB, free: 5.668 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005809/0.3916, allocations: 289.8 kB / 441 MB, free: 5.551 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.31e-05/0.3917, allocations: 14.33 kB / 441 MB, free: 5.547 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.3917, allocations: 42.66 kB / 441.1 MB, free: 5.496 MB / 350.1 MB Notification: Performance of pre-optimization done (n=67): time 2.545e-06/0.3917, allocations: 0 / 441.1 MB, free: 5.496 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.006712/0.3984, allocations: 2.888 MB / 444 MB, free: 3.945 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/0.3984, allocations: 59.16 kB / 444 MB, free: 3.883 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004642/0.3989, allocations: 366.1 kB / 444.4 MB, free: 3.695 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.55e-05/0.399, allocations: 53.31 kB / 444.4 MB, free: 3.648 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/0.3991, allocations: 198.4 kB / 444.6 MB, free: 3.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001931/0.3993, allocations: 269.1 kB / 444.9 MB, free: 3.281 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002414/0.3995, allocations: 132 kB / 445 MB, free: 3.215 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.705e-05/0.3996, allocations: 361.8 kB / 445.4 MB, free: 2.879 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006329/0.4003, allocations: 304.3 kB / 445.7 MB, free: 2.762 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006284/0.4009, allocations: 377.1 kB / 446 MB, free: 2.602 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009541/0.4018, allocations: 493.6 kB / 446.5 MB, free: 2.383 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.4019, allocations: 0 / 446.5 MB, free: 2.383 MB / 350.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001936/0.4038, allocations: 0.9294 MB / 447.4 MB, free: 1.984 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.4038, allocations: 6.328 kB / 447.5 MB, free: 1.984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.4038, allocations: 1.281 kB / 447.5 MB, free: 1.984 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001406/0.4052, allocations: 0.5757 MB / 448 MB, free: 1.797 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004217/0.4056, allocations: 103 kB / 448.1 MB, free: 1.781 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001489/0.4071, allocations: 1.095 MB / 449.2 MB, free: 1.012 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007917/0.4079, allocations: 113.5 kB / 449.3 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.351e-05/0.408, allocations: 23.64 kB / 449.4 MB, free: 0.9883 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.0003724/0.4084, allocations: 193.3 kB / 449.6 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001628/0.4085, allocations: 59.11 kB / 449.6 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002148/0.4088, allocations: 75.16 kB / 449.7 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.527e-05/0.4088, allocations: 6.719 kB / 449.7 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.447e-05/0.4088, allocations: 2.984 kB / 449.7 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/0.4088, allocations: 3.797 kB / 449.7 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00326/0.4121, allocations: 1.607 MB / 451.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.4121, allocations: 0 / 451.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004265/0.4125, allocations: 87.88 kB / 451.4 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001285/0.4138, allocations: 0.5401 MB / 451.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.834e-05/0.4139, allocations: 28.3 kB / 452 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001702/0.4156, allocations: 1.079 MB / 453 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.4156, allocations: 0.875 kB / 453 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002928/0.4185, allocations: 1.304 MB / 454.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004324/0.4189, allocations: 200.8 kB / 454.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001362/0.4191, allocations: 25.19 kB / 454.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000641/0.4197, allocations: 101.5 kB / 454.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003409/0.42, allocations: 128 kB / 454.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.809e-05/0.4201, allocations: 33.88 kB / 454.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003517/0.4205, allocations: 254.5 kB / 455.1 MB, free: 14.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4205, allocations: 0 / 455.1 MB, free: 14.04 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000842/0.4213, allocations: 164 kB / 455.2 MB, free: 14.01 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.001521/0.4228, allocations: 398.9 kB / 455.6 MB, free: 13.83 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001882/0.4247, allocations: 0.7215 MB / 456.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.4247, allocations: 0 / 456.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009498/0.4257, allocations: 417.8 kB / 456.7 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008467/0.4265, allocations: 111 kB / 456.9 MB, free: 13.4 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003102/0.4296, allocations: 1.476 MB / 458.3 MB, free: 12.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005792/0.4302, allocations: 0.8702 MB / 459.2 MB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001904/0.4304, allocations: 54.66 kB / 459.3 MB, free: 11.67 MB / 366.1 MB Notification: Performance of SimCode: time 1.222e-06/0.4304, allocations: 0 / 459.3 MB, free: 11.67 MB / 366.1 MB Notification: Performance of Templates: time 0.01583/0.4462, allocations: 9.309 MB / 468.6 MB, free: 6.758 MB / 366.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/CoupledClutches/CoupledClutches.csv","/var/lib/jenkins1/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: 8.702382810995914]