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.001031/0.001031, allocations: 111.1 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001089/0.001089, allocations: 210.7 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.305/1.305, allocations: 227.4 MB / 247.6 MB, free: 10.39 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 59.91 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1964/0.1976, allocations: 50.54 MB / 409.9 MB, free: 1.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.CoupledClutches): time 0.004301/0.2019, allocations: 3.252 MB / 413.2 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002043/0.204, allocations: 1.24 MB / 414.4 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000224/0.2042, allocations: 11.94 kB / 414.4 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000325/0.2046, allocations: 95.14 kB / 414.5 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004653/0.205, allocations: 222.4 kB / 414.7 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005158/0.2056, allocations: 263.5 kB / 415 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008079/0.2064, allocations: 0.8544 MB / 415.8 MB, free: 11.6 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002269/0.2066, allocations: 137.1 kB / 416 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005216/0.2071, allocations: 386.8 kB / 416.4 MB, free: 11.07 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004822/0.2076, allocations: 414.5 kB / 416.8 MB, free: 10.67 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001301/0.2078, allocations: 64 kB / 416.8 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002454/0.208, allocations: 120 kB / 416.9 MB, free: 10.49 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002036/0.2082, allocations: 175.4 kB / 417.1 MB, free: 10.32 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003125/0.2086, allocations: 322.5 kB / 417.4 MB, free: 10 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007588/0.2093, allocations: 0.7954 MB / 418.2 MB, free: 9.207 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.2093, allocations: 0 / 418.2 MB, free: 9.207 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2094, allocations: 4 kB / 418.2 MB, free: 9.203 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.44e-05/0.2094, allocations: 0 / 418.2 MB, free: 9.203 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.001849/0.2112, allocations: 0.9506 MB / 419.2 MB, free: 8.203 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.2113, allocations: 8.031 kB / 419.2 MB, free: 8.195 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003408/0.2116, allocations: 80.17 kB / 419.3 MB, free: 8.117 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005672/0.2122, allocations: 393.9 kB / 419.6 MB, free: 7.691 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.775e-05/0.2122, allocations: 41.31 kB / 419.7 MB, free: 7.652 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/0.2123, allocations: 44.38 kB / 419.7 MB, free: 7.609 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001129/0.2135, allocations: 0.623 MB / 420.4 MB, free: 6.973 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.374e-05/0.2135, allocations: 3.906 kB / 420.4 MB, free: 6.969 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.209e-05/0.2136, allocations: 20 kB / 420.4 MB, free: 6.949 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.2136, allocations: 12 kB / 420.4 MB, free: 6.938 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001277/0.2149, allocations: 0.5855 MB / 421 MB, free: 6.352 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00235/0.2173, allocations: 1.347 MB / 422.3 MB, free: 4.949 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001092/0.2184, allocations: 0.5128 MB / 422.8 MB, free: 4.426 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006113/0.219, allocations: 310.4 kB / 423.1 MB, free: 4.121 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.573e-05/0.219, allocations: 16.55 kB / 423.2 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.505e-05/0.2191, allocations: 47.05 kB / 423.2 MB, free: 4.047 MB / 334.1 MB Notification: Performance of pre-optimization done (n=67): time 1.994e-06/0.2191, allocations: 0 / 423.2 MB, free: 4.047 MB / 334.1 MB Notification: Performance of matching and sorting (n=73): time 0.006717/0.2258, allocations: 2.893 MB / 426.1 MB, free: 1.02 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.219e-05/0.2259, allocations: 60.06 kB / 426.2 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003684/0.2262, allocations: 357.7 kB / 426.5 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.231e-05/0.2263, allocations: 53.69 kB / 426.6 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.2264, allocations: 193.3 kB / 426.7 MB, free: 348 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001963/0.2267, allocations: 252.6 kB / 427 MB, free: 92 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002392/0.2269, allocations: 134.5 kB / 427.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.227, allocations: 362.8 kB / 427.5 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006452/0.2277, allocations: 305.9 kB / 427.8 MB, free: 15.29 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006854/0.2284, allocations: 373.3 kB / 428.1 MB, free: 14.92 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001026/0.2294, allocations: 0.489 MB / 428.6 MB, free: 14.42 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2294, allocations: 0 / 428.6 MB, free: 14.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001982/0.2314, allocations: 0.9427 MB / 429.6 MB, free: 13.46 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.2314, allocations: 8.031 kB / 429.6 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.2315, allocations: 0 / 429.6 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001313/0.2328, allocations: 0.5707 MB / 430.1 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000381/0.2332, allocations: 111.8 kB / 430.3 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001514/0.2347, allocations: 1.092 MB / 431.3 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007017/0.2354, allocations: 111.8 kB / 431.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.764e-05/0.2355, allocations: 27.98 kB / 431.5 MB, free: 11.52 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.0002434/0.2357, allocations: 195.9 kB / 431.7 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001273/0.2359, allocations: 55.28 kB / 431.7 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001454/0.236, allocations: 81.09 kB / 431.8 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.236, allocations: 3.984 kB / 431.8 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.236, allocations: 0 / 431.8 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002675/0.2363, allocations: 196.4 kB / 432 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/0.2364, allocations: 24 kB / 432 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006928/0.2371, allocations: 103.9 kB / 432.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002736/0.2374, allocations: 128.4 kB / 432.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00283/0.2402, allocations: 1.009 MB / 433.3 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002063/0.2423, allocations: 1.146 MB / 434.4 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006173/0.2429, allocations: 313.1 kB / 434.7 MB, free: 8.223 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002496/0.2432, allocations: 259.2 kB / 435 MB, free: 7.973 MB / 350.1 MB Notification: Performance of Backend: time 2.11e-07/0.2432, allocations: 0 / 435 MB, free: 7.973 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002498/0.2457, allocations: 1.014 MB / 436 MB, free: 7.145 MB / 350.1 MB Notification: Performance of SimCode: time 0.002144/0.2479, allocations: 1.91 MB / 437.9 MB, free: 5.188 MB / 350.1 MB Notification: Performance of Templates: time 0.01945/0.2673, allocations: 13.27 MB / 451.2 MB, free: 7.973 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