Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001583/0.001583, allocations: 106.5 kB / 21.2 MB, free: 0.6406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001718/0.001718, allocations: 216.6 kB / 24.49 MB, free: 3.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.434/1.434, allocations: 230.6 MB / 258.3 MB, free: 7.785 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Mechanics.Rotational.Examples.CoupledClutches") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001554/0.001554, allocations: 39.94 kB / 379 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2345/0.2361, allocations: 53.37 MB / 432.3 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.CoupledClutches): time 0.007278/0.2434, allocations: 3.015 MB / 435.3 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003444/0.2468, allocations: 1.197 MB / 436.5 MB, free: 2.484 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002417/0.247, allocations: 15.88 kB / 436.6 MB, free: 2.469 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000446/0.2475, allocations: 95.14 kB / 436.7 MB, free: 2.375 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000779/0.2483, allocations: 226.4 kB / 436.9 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000856/0.2491, allocations: 279.5 kB / 437.1 MB, free: 1.879 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001374/0.2505, allocations: 0.8542 MB / 438 MB, free: 1.023 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003111/0.2508, allocations: 101.2 kB / 438.1 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008105/0.2516, allocations: 398.8 kB / 438.5 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008012/0.2524, allocations: 414.6 kB / 438.9 MB, free: 128 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001802/0.2526, allocations: 64 kB / 439 MB, free: 64 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003813/0.253, allocations: 124 kB / 439.1 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003129/0.2533, allocations: 175.4 kB / 439.2 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004585/0.2538, allocations: 282.8 kB / 439.5 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001399/0.2552, allocations: 0.8014 MB / 440.3 MB, free: 14.69 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.2552, allocations: 0 / 440.3 MB, free: 14.69 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.2552, allocations: 3.938 kB / 440.3 MB, free: 14.69 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.767e-06/0.2552, allocations: 0 / 440.3 MB, free: 14.69 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.003118/0.2583, allocations: 0.894 MB / 441.2 MB, free: 13.76 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.2583, allocations: 8.031 kB / 441.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005495/0.2589, allocations: 80.53 kB / 441.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001021/0.2599, allocations: 336.5 kB / 441.6 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.937e-05/0.26, allocations: 41.36 kB / 441.7 MB, free: 13.28 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001862/0.2602, allocations: 52.33 kB / 441.7 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00213/0.2623, allocations: 0.6152 MB / 442.3 MB, free: 12.6 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.609e-05/0.2623, allocations: 4 kB / 442.3 MB, free: 12.6 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/0.2624, allocations: 12 kB / 442.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.727e-05/0.2624, allocations: 12 kB / 442.4 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002423/0.2649, allocations: 0.5894 MB / 443 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004002/0.2689, allocations: 1.115 MB / 444.1 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001952/0.2708, allocations: 482.8 kB / 444.5 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001136/0.272, allocations: 290.7 kB / 444.8 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.564e-05/0.272, allocations: 8.656 kB / 444.8 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.201e-05/0.2721, allocations: 43.2 kB / 444.9 MB, free: 10 MB / 350.1 MB Notification: Performance of pre-optimization done (n=67): time 3.347e-06/0.2721, allocations: 7.938 kB / 444.9 MB, free: 9.996 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.01191/0.284, allocations: 2.516 MB / 447.4 MB, free: 7.438 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.956e-05/0.2841, allocations: 60.06 kB / 447.5 MB, free: 7.367 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006707/0.2847, allocations: 353.6 kB / 447.8 MB, free: 7.016 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001368/0.2849, allocations: 53.69 kB / 447.9 MB, free: 6.957 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002325/0.2851, allocations: 197.6 kB / 448.1 MB, free: 6.758 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003969/0.2855, allocations: 265.8 kB / 448.3 MB, free: 6.496 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004109/0.2859, allocations: 130.6 kB / 448.4 MB, free: 6.359 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002703/0.2862, allocations: 362.8 kB / 448.8 MB, free: 5.996 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001202/0.2874, allocations: 305.9 kB / 449.1 MB, free: 5.699 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001292/0.2887, allocations: 373.3 kB / 449.5 MB, free: 5.332 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001905/0.2906, allocations: 493.1 kB / 449.9 MB, free: 4.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.2906, allocations: 8 kB / 450 MB, free: 4.832 MB / 350.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00289/0.2935, allocations: 0.9235 MB / 450.9 MB, free: 3.898 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.2935, allocations: 4 kB / 450.9 MB, free: 3.895 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.2935, allocations: 0 / 450.9 MB, free: 3.895 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001406/0.2949, allocations: 0.5708 MB / 451.4 MB, free: 3.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003995/0.2953, allocations: 99.81 kB / 451.5 MB, free: 3.223 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001724/0.297, allocations: 1.105 MB / 452.7 MB, free: 2.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007256/0.2978, allocations: 111.8 kB / 452.8 MB, free: 1.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.697e-05/0.2978, allocations: 31.98 kB / 452.8 MB, free: 1.949 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.0002718/0.2981, allocations: 190.4 kB / 453 MB, free: 1.758 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001404/0.2982, allocations: 59.56 kB / 453 MB, free: 1.699 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002305/0.2985, allocations: 80.98 kB / 453.1 MB, free: 1.617 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.2985, allocations: 7.922 kB / 453.1 MB, free: 1.609 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.2985, allocations: 0 / 453.1 MB, free: 1.609 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003034/0.2988, allocations: 119.5 kB / 453.2 MB, free: 1.492 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001337/0.2989, allocations: 27.98 kB / 453.3 MB, free: 1.465 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007281/0.2996, allocations: 99.88 kB / 453.4 MB, free: 1.367 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002927/0.2999, allocations: 136.4 kB / 453.5 MB, free: 1.234 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003046/0.303, allocations: 0.9934 MB / 454.5 MB, free: 236 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002283/0.3053, allocations: 1.155 MB / 455.6 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006573/0.3059, allocations: 285.1 kB / 455.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002793/0.3062, allocations: 247.2 kB / 456.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of Backend: time 3.4e-07/0.3062, allocations: 0 / 456.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003628/0.3098, allocations: 1.011 MB / 457.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of SimCode: time 0.002506/0.3123, allocations: 1.93 MB / 459.1 MB, free: 11.79 MB / 366.1 MB Notification: Performance of Templates: time 0.02182/0.3342, allocations: 13.6 MB / 472.7 MB, free: 14.29 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.631220357005077]