Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001293/0.001293, allocations: 113.9 kB / 21.18 MB, free: 0.6289 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.001391/0.001391, allocations: 209.8 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.424/1.424, allocations: 230.4 MB / 258.1 MB, free: 8.148 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.CoupledClutches") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 67.83 kB / 378.7 MB, free: 2.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2161/0.218, allocations: 53.32 MB / 432.1 MB, free: 7.387 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.CoupledClutches): time 0.005382/0.2234, allocations: 3.274 MB / 435.3 MB, free: 4.102 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002344/0.2258, allocations: 1.255 MB / 436.6 MB, free: 2.84 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002563/0.226, allocations: 8 kB / 436.6 MB, free: 2.832 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003644/0.2264, allocations: 103.1 kB / 436.7 MB, free: 2.73 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005556/0.2269, allocations: 218.4 kB / 436.9 MB, free: 2.516 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006471/0.2276, allocations: 279.5 kB / 437.2 MB, free: 2.242 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009383/0.2285, allocations: 0.8505 MB / 438 MB, free: 1.387 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002046/0.2287, allocations: 97.8 kB / 438.1 MB, free: 1.285 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005442/0.2293, allocations: 386.8 kB / 438.5 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005498/0.2298, allocations: 410.6 kB / 438.9 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001099/0.2299, allocations: 64 kB / 439 MB, free: 452 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000233/0.2302, allocations: 123.9 kB / 439.1 MB, free: 328 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002248/0.2304, allocations: 183.5 kB / 439.3 MB, free: 144 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003391/0.2307, allocations: 322.5 kB / 439.6 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009342/0.2317, allocations: 0.7996 MB / 440.4 MB, free: 15.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2317, allocations: 0 / 440.4 MB, free: 15.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2317, allocations: 0 / 440.4 MB, free: 15.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.279e-05/0.2317, allocations: 0 / 440.4 MB, free: 15.02 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.002113/0.2338, allocations: 0.9733 MB / 441.4 MB, free: 14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.2338, allocations: 8.922 kB / 441.4 MB, free: 13.99 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003526/0.2342, allocations: 80.55 kB / 441.4 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006547/0.2348, allocations: 398.3 kB / 441.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.331e-05/0.2349, allocations: 33.38 kB / 441.9 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001076/0.235, allocations: 52.33 kB / 441.9 MB, free: 13.4 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001342/0.2363, allocations: 0.619 MB / 442.5 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.282e-05/0.2363, allocations: 8 kB / 442.5 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.644e-05/0.2364, allocations: 20 kB / 442.6 MB, free: 12.74 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/0.2364, allocations: 8 kB / 442.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001394/0.2378, allocations: 0.5816 MB / 443.2 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002762/0.2406, allocations: 1.359 MB / 444.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001195/0.2418, allocations: 493 kB / 445 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006553/0.2424, allocations: 290.4 kB / 445.3 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.298e-05/0.2425, allocations: 8.562 kB / 445.3 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.751e-05/0.2425, allocations: 47.11 kB / 445.3 MB, free: 9.891 MB / 350.1 MB Notification: Performance of pre-optimization done (n=67): time 2.034e-06/0.2425, allocations: 4 kB / 445.3 MB, free: 9.887 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.007562/0.2501, allocations: 2.886 MB / 448.2 MB, free: 6.867 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.2501, allocations: 60.06 kB / 448.3 MB, free: 6.797 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004384/0.2506, allocations: 365.6 kB / 448.6 MB, free: 6.438 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001007/0.2507, allocations: 57.69 kB / 448.7 MB, free: 6.375 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001507/0.2508, allocations: 197.6 kB / 448.9 MB, free: 6.176 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002548/0.2511, allocations: 265.9 kB / 449.1 MB, free: 5.914 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002525/0.2513, allocations: 134.6 kB / 449.3 MB, free: 5.773 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001894/0.2515, allocations: 358.8 kB / 449.6 MB, free: 5.414 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006976/0.2522, allocations: 305.9 kB / 449.9 MB, free: 5.117 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008037/0.253, allocations: 373.4 kB / 450.3 MB, free: 4.746 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/0.2541, allocations: 0.4889 MB / 450.8 MB, free: 4.246 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.2541, allocations: 0 / 450.8 MB, free: 4.246 MB / 350.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002247/0.2564, allocations: 0.9352 MB / 451.7 MB, free: 3.301 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.2564, allocations: 8 kB / 451.7 MB, free: 3.293 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.2564, allocations: 0 / 451.7 MB, free: 3.293 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001428/0.2578, allocations: 0.5747 MB / 452.3 MB, free: 2.715 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003975/0.2582, allocations: 103.8 kB / 452.4 MB, free: 2.613 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001911/0.2601, allocations: 1.092 MB / 453.5 MB, free: 1.492 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007504/0.2609, allocations: 107.9 kB / 453.6 MB, free: 1.387 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.27e-05/0.261, allocations: 31.98 kB / 453.6 MB, free: 1.355 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.0002813/0.2612, allocations: 184 kB / 453.8 MB, free: 1.168 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001447/0.2614, allocations: 59.61 kB / 453.9 MB, free: 1.109 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001721/0.2616, allocations: 73.09 kB / 453.9 MB, free: 1.035 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.2616, allocations: 3.984 kB / 453.9 MB, free: 1.031 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.2616, allocations: 4 kB / 453.9 MB, free: 1.027 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003069/0.2619, allocations: 200.6 kB / 454.1 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001306/0.262, allocations: 28 kB / 454.2 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007365/0.2627, allocations: 99.86 kB / 454.3 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002918/0.263, allocations: 128.4 kB / 454.4 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003139/0.2662, allocations: 1.009 MB / 455.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002278/0.2684, allocations: 1.147 MB / 456.5 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006858/0.2691, allocations: 289.1 kB / 456.8 MB, free: 14.1 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000294/0.2694, allocations: 255.2 kB / 457.1 MB, free: 13.85 MB / 366.1 MB Notification: Performance of Backend: time 4.81e-07/0.2694, allocations: 0 / 457.1 MB, free: 13.85 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003472/0.2729, allocations: 0.9661 MB / 458 MB, free: 13.11 MB / 366.1 MB Notification: Performance of SimCode: time 0.002587/0.2755, allocations: 1.932 MB / 460 MB, free: 11.12 MB / 366.1 MB Notification: Performance of Templates: time 0.0223/0.2978, allocations: 13.82 MB / 473.8 MB, free: 13.38 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.CoupledClutches.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.CoupledClutches.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.CoupledClutches.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.CoupledClutches.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.CoupledClutches.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.CoupledClutches -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.CoupledClutches.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.CoupledClutches_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/CoupledClutches/CoupledClutches.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 4.723257387988269]