Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001326/0.001326, allocations: 84.19 kB / 22 MB, free: 5.18 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.001377/0.001377, allocations: 165.7 kB / 25.25 MB, free: 3.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.286/1.286, allocations: 158.6 MB / 187 MB, free: 6.238 MB / 174.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.Rotational.Examples.CoupledClutches") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001792/0.001792, allocations: 55.92 kB / 299.4 MB, free: 6.848 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2022/0.204, allocations: 49.13 MB / 348.5 MB, free: 15.53 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.CoupledClutches): time 0.004556/0.2086, allocations: 2.861 MB / 351.4 MB, free: 12.65 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001946/0.2105, allocations: 1.049 MB / 352.4 MB, free: 11.59 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000166/0.2107, allocations: 7.938 kB / 352.4 MB, free: 11.59 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002592/0.2109, allocations: 79.23 kB / 352.5 MB, free: 11.51 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003017/0.2112, allocations: 166.7 kB / 352.7 MB, free: 11.34 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000667/0.2119, allocations: 291.5 kB / 352.9 MB, free: 11.06 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008051/0.2127, allocations: 0.7997 MB / 353.7 MB, free: 10.26 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002147/0.2129, allocations: 97.98 kB / 353.8 MB, free: 10.16 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004789/0.2134, allocations: 362.9 kB / 354.2 MB, free: 9.801 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004934/0.2139, allocations: 354.7 kB / 354.5 MB, free: 9.453 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.957e-05/0.214, allocations: 63.94 kB / 354.6 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002223/0.2142, allocations: 115.9 kB / 354.7 MB, free: 9.277 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001857/0.2144, allocations: 155.5 kB / 354.9 MB, free: 9.125 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002796/0.2147, allocations: 250.9 kB / 355.1 MB, free: 8.879 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008127/0.2155, allocations: 0.7301 MB / 355.8 MB, free: 8.152 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.2155, allocations: 4 kB / 355.8 MB, free: 8.148 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2155, allocations: 4 kB / 355.8 MB, free: 8.145 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.2155, allocations: 3.938 kB / 355.9 MB, free: 8.141 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.00177/0.2173, allocations: 0.8204 MB / 356.7 MB, free: 7.289 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.2173, allocations: 15.98 kB / 356.7 MB, free: 7.273 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000138/0.2174, allocations: 60.56 kB / 356.7 MB, free: 7.215 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005567/0.218, allocations: 314 kB / 357.1 MB, free: 6.883 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.353e-05/0.218, allocations: 33.38 kB / 357.1 MB, free: 6.852 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.645e-05/0.2181, allocations: 44.33 kB / 357.1 MB, free: 6.809 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001212/0.2194, allocations: 0.623 MB / 357.8 MB, free: 6.172 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.814e-05/0.2194, allocations: 7.984 kB / 357.8 MB, free: 6.164 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.769e-05/0.2194, allocations: 20 kB / 357.8 MB, free: 6.145 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.2194, allocations: 8 kB / 357.8 MB, free: 6.137 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001309/0.2208, allocations: 0.5934 MB / 358.4 MB, free: 5.543 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002303/0.2231, allocations: 1.088 MB / 359.5 MB, free: 4.41 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/0.2241, allocations: 445.2 kB / 359.9 MB, free: 3.969 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000593/0.2247, allocations: 286.2 kB / 360.2 MB, free: 3.684 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.705e-05/0.2247, allocations: 8.5 kB / 360.2 MB, free: 3.676 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.547e-05/0.2247, allocations: 39.06 kB / 360.2 MB, free: 3.629 MB / 318.1 MB Notification: Performance of pre-optimization done (n=58): time 2.104e-06/0.2247, allocations: 0 / 360.2 MB, free: 3.629 MB / 318.1 MB Notification: Performance of matching and sorting (n=64): time 0.006498/0.2312, allocations: 2.497 MB / 362.7 MB, free: 1.086 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.906e-05/0.2313, allocations: 64 kB / 362.8 MB, free: 1.012 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003468/0.2316, allocations: 312.5 kB / 363.1 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.981e-05/0.2317, allocations: 53.69 kB / 363.1 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/0.2319, allocations: 205.5 kB / 363.3 MB, free: 444 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002012/0.2321, allocations: 234.1 kB / 363.6 MB, free: 208 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002305/0.2323, allocations: 130.6 kB / 363.7 MB, free: 68 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.2325, allocations: 354.8 kB / 364.1 MB, free: 15.71 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006714/0.2331, allocations: 317.8 kB / 364.4 MB, free: 15.4 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006966/0.2338, allocations: 381 kB / 364.7 MB, free: 15.02 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00104/0.2349, allocations: 0.5106 MB / 365.2 MB, free: 14.5 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.2349, allocations: 3.938 kB / 365.2 MB, free: 14.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001839/0.2367, allocations: 0.9078 MB / 366.2 MB, free: 13.58 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.654e-05/0.2368, allocations: 8 kB / 366.2 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.2368, allocations: 0 / 366.2 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001319/0.2381, allocations: 0.7268 MB / 366.9 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004056/0.2385, allocations: 103.8 kB / 367 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001488/0.24, allocations: 1.099 MB / 368.1 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006892/0.2407, allocations: 111.9 kB / 368.2 MB, free: 11.51 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.609e-05/0.2407, allocations: 23.98 kB / 368.2 MB, free: 11.48 MB / 334.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 (64): * Single equations (assignments): 63 * 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,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0002563/0.241, allocations: 183.7 kB / 368.4 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.2411, allocations: 47.67 kB / 368.5 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000154/0.2413, allocations: 76.69 kB / 368.5 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.2413, allocations: 4 kB / 368.5 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.2413, allocations: 0 / 368.5 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/0.2413, allocations: 3.984 kB / 368.5 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002695/0.244, allocations: 1.387 MB / 369.9 MB, free: 9.727 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.244, allocations: 0 / 369.9 MB, free: 9.727 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004397/0.2444, allocations: 87.89 kB / 370 MB, free: 9.641 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00124/0.2457, allocations: 0.7034 MB / 370.7 MB, free: 8.934 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.268e-05/0.2457, allocations: 27.95 kB / 370.7 MB, free: 8.906 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001403/0.2471, allocations: 1.064 MB / 371.8 MB, free: 7.816 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.2471, allocations: 0 / 371.8 MB, free: 7.816 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002518/0.2497, allocations: 1.292 MB / 373.1 MB, free: 6.508 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002639/0.2499, allocations: 119.5 kB / 373.2 MB, free: 6.391 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/0.25, allocations: 28 kB / 373.2 MB, free: 6.363 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006531/0.2507, allocations: 95.88 kB / 373.3 MB, free: 6.27 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002784/0.251, allocations: 132.3 kB / 373.5 MB, free: 6.141 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.106e-05/0.251, allocations: 27.97 kB / 373.5 MB, free: 6.113 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002345/0.2513, allocations: 227 kB / 373.7 MB, free: 5.891 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2513, allocations: 0 / 373.7 MB, free: 5.891 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005305/0.2518, allocations: 160 kB / 373.9 MB, free: 5.734 MB / 334.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,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002421/0.252, allocations: 143.1 kB / 374 MB, free: 5.586 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001628/0.2537, allocations: 0.7264 MB / 374.7 MB, free: 4.863 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2537, allocations: 0 / 374.7 MB, free: 4.863 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008785/0.2545, allocations: 414.1 kB / 375.1 MB, free: 4.457 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000679/0.2552, allocations: 101.8 kB / 375.2 MB, free: 4.359 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002656/0.2579, allocations: 1.387 MB / 376.6 MB, free: 2.949 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/0.2581, allocations: 237.6 kB / 376.9 MB, free: 2.691 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001747/0.2583, allocations: 51.44 kB / 376.9 MB, free: 2.641 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.2584, allocations: 40.48 kB / 376.9 MB, free: 2.602 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2584, allocations: 0 / 376.9 MB, free: 2.602 MB / 334.1 MB Notification: Performance of Templates: time 0.01961/0.278, allocations: 11.51 MB / 388.5 MB, free: 7.051 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.CoupledClutches.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.CoupledClutches.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.CoupledClutches.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.CoupledClutches.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.CoupledClutches.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.CoupledClutches -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.CoupledClutches.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.CoupledClutches_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/CoupledClutches/CoupledClutches.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.653464411967434]