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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=3000,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=3000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001375/0.001375, allocations: 118.3 kB / 18.46 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001506/0.001506, allocations: 206.7 kB / 19.42 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 227.4 MB / 247.6 MB, free: 10.4 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 63.89 kB / 359.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2051/0.2063, allocations: 50.54 MB / 409.9 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.CoupledClutches): time 0.004258/0.2106, allocations: 3.255 MB / 413.2 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002098/0.2127, allocations: 1.243 MB / 414.4 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00021/0.2129, allocations: 4 kB / 414.4 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003057/0.2133, allocations: 99.09 kB / 414.5 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004264/0.2137, allocations: 222.4 kB / 414.7 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004918/0.2142, allocations: 267.5 kB / 415 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007396/0.2149, allocations: 0.8504 MB / 415.9 MB, free: 11.6 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002329/0.2152, allocations: 145.1 kB / 416 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004568/0.2156, allocations: 386.8 kB / 416.4 MB, free: 11.07 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004424/0.2161, allocations: 406.6 kB / 416.8 MB, free: 10.67 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001159/0.2162, allocations: 64 kB / 416.8 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002309/0.2165, allocations: 120 kB / 417 MB, free: 10.49 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001986/0.2167, allocations: 183.4 kB / 417.1 MB, free: 10.31 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002855/0.217, allocations: 318.5 kB / 417.4 MB, free: 9.996 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007832/0.2178, allocations: 0.7976 MB / 418.2 MB, free: 9.199 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.2178, allocations: 0 / 418.2 MB, free: 9.199 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2178, allocations: 0 / 418.2 MB, free: 9.199 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.155e-06/0.2178, allocations: 0 / 418.2 MB, free: 9.199 MB / 334.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.001704/0.2195, allocations: 0.9655 MB / 419.2 MB, free: 8.184 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.2195, allocations: 12.03 kB / 419.2 MB, free: 8.172 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003097/0.2199, allocations: 80.53 kB / 419.3 MB, free: 8.094 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005274/0.2204, allocations: 402.2 kB / 419.7 MB, free: 7.66 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.225e-05/0.2204, allocations: 37.38 kB / 419.7 MB, free: 7.625 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001105/0.2206, allocations: 52.33 kB / 419.8 MB, free: 7.574 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/0.2217, allocations: 0.6113 MB / 420.4 MB, free: 6.949 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.372e-05/0.2217, allocations: 7.984 kB / 420.4 MB, free: 6.941 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.703e-05/0.2218, allocations: 20 kB / 420.4 MB, free: 6.922 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.2218, allocations: 15.94 kB / 420.4 MB, free: 6.906 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001284/0.2231, allocations: 0.5816 MB / 421 MB, free: 6.324 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002247/0.2253, allocations: 1.355 MB / 422.4 MB, free: 4.914 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/0.2264, allocations: 0.5129 MB / 422.9 MB, free: 4.391 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006056/0.227, allocations: 314.4 kB / 423.2 MB, free: 4.082 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.265e-05/0.2271, allocations: 4.562 kB / 423.2 MB, free: 4.078 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.2271, allocations: 43.12 kB / 423.2 MB, free: 4.023 MB / 334.1 MB Notification: Performance of pre-optimization done (n=67): time 1.863e-06/0.2272, allocations: 0 / 423.2 MB, free: 4.023 MB / 334.1 MB Notification: Performance of matching and sorting (n=73): time 0.006522/0.2337, allocations: 2.906 MB / 426.1 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.796e-05/0.2337, allocations: 60.06 kB / 426.2 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003638/0.2341, allocations: 369.6 kB / 426.6 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.636e-05/0.2342, allocations: 49.7 kB / 426.6 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.2343, allocations: 205.6 kB / 426.8 MB, free: 292 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001949/0.2345, allocations: 265.8 kB / 427.1 MB, free: 24 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002346/0.2348, allocations: 130.7 kB / 427.2 MB, free: 15.89 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.2349, allocations: 358.8 kB / 427.5 MB, free: 15.53 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006389/0.2355, allocations: 309.9 kB / 427.9 MB, free: 15.22 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006721/0.2362, allocations: 373.4 kB / 428.2 MB, free: 14.85 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001001/0.2372, allocations: 496.6 kB / 428.7 MB, free: 14.36 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2372, allocations: 0 / 428.7 MB, free: 14.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001957/0.2392, allocations: 0.947 MB / 429.6 MB, free: 13.4 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.2392, allocations: 4 kB / 429.7 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.2392, allocations: 0 / 429.7 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001313/0.2406, allocations: 0.5786 MB / 430.2 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003665/0.2409, allocations: 95.83 kB / 430.3 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001502/0.2425, allocations: 1.096 MB / 431.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006472/0.2431, allocations: 115.9 kB / 431.5 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.113e-05/0.2432, allocations: 35.92 kB / 431.6 MB, free: 11.45 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.0002243/0.2434, allocations: 180 kB / 431.7 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/0.2435, allocations: 55.61 kB / 431.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001734/0.2437, allocations: 85.08 kB / 431.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.2437, allocations: 3.984 kB / 431.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.2437, allocations: 3.938 kB / 431.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002428/0.244, allocations: 200.6 kB / 432.1 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001134/0.2441, allocations: 24 kB / 432.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006419/0.2448, allocations: 99.88 kB / 432.2 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002803/0.2451, allocations: 132.5 kB / 432.3 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002747/0.2478, allocations: 1.005 MB / 433.3 MB, free: 9.633 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002036/0.2499, allocations: 1.154 MB / 434.5 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006106/0.2505, allocations: 313.1 kB / 434.8 MB, free: 8.156 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000249/0.2507, allocations: 255.2 kB / 435.1 MB, free: 7.91 MB / 350.1 MB Notification: Performance of Backend: time 4.01e-07/0.2508, allocations: 4 kB / 435.1 MB, free: 7.906 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002494/0.2533, allocations: 1.01 MB / 436.1 MB, free: 7.074 MB / 350.1 MB Notification: Performance of SimCode: time 0.002076/0.2553, allocations: 1.92 MB / 438 MB, free: 5.105 MB / 350.1 MB Notification: Performance of Templates: time 0.01869/0.274, allocations: 13.28 MB / 451.3 MB, free: 7.883 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CoupledClutches.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CoupledClutches_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches