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.001282/0.001282, allocations: 80.8 kB / 22.29 MB, free: 2.203 MB / 18.57 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.001181/0.001181, allocations: 165.6 kB / 25.69 MB, free: 8.453 MB / 18.57 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 0.976/0.976, allocations: 158.6 MB / 187.6 MB, free: 2.805 MB / 170.7 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: Performance of FrontEnd - loaded program: time 2.205e-06/2.205e-06, allocations: 0 / 251.6 MB, free: 7.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.468e-05/2.688e-05, allocations: 2.312 kB / 251.6 MB, free: 7.246 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.CoupledClutches): time 0.005014/0.00504, allocations: 3.101 MB / 254.7 MB, free: 4.125 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002647/0.007687, allocations: 1.107 MB / 255.8 MB, free: 3.008 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003476/0.008035, allocations: 7.938 kB / 255.8 MB, free: 3 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003499/0.008385, allocations: 71.31 kB / 255.8 MB, free: 2.93 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003325/0.008717, allocations: 174.5 kB / 256 MB, free: 2.758 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007961/0.009513, allocations: 279.5 kB / 256.3 MB, free: 2.484 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000762/0.01028, allocations: 0.8189 MB / 257.1 MB, free: 1.66 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002121/0.01049, allocations: 102.1 kB / 257.2 MB, free: 1.547 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005909/0.01108, allocations: 495 kB / 257.7 MB, free: 1.062 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003912/0.01147, allocations: 323.2 kB / 258 MB, free: 0.7461 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 7.938e-05/0.01155, allocations: 60 kB / 258.1 MB, free: 0.6875 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002061/0.01175, allocations: 112 kB / 258.2 MB, free: 0.5781 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.01187, allocations: 159.5 kB / 258.3 MB, free: 432 kB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001595/0.01203, allocations: 219.5 kB / 258.5 MB, free: 212 kB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005603/0.01259, allocations: 0.5762 MB / 259.1 MB, free: 15.63 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.01259, allocations: 0 / 259.1 MB, free: 15.63 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.01259, allocations: 0 / 259.1 MB, free: 15.63 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.0126, allocations: 4 kB / 259.1 MB, free: 15.62 MB / 250.7 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.0009292/0.01353, allocations: 0.7565 MB / 259.9 MB, free: 14.84 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.01357, allocations: 15.98 kB / 259.9 MB, free: 14.83 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001147/0.01368, allocations: 76.88 kB / 260 MB, free: 14.75 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003395/0.01402, allocations: 253.4 kB / 260.2 MB, free: 14.48 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.811e-05/0.01406, allocations: 33.38 kB / 260.3 MB, free: 14.45 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.445e-05/0.01413, allocations: 48.34 kB / 260.3 MB, free: 14.41 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005824/0.01471, allocations: 479 kB / 260.8 MB, free: 13.93 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/0.01474, allocations: 4.141 kB / 260.8 MB, free: 13.92 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.113e-05/0.01478, allocations: 20.12 kB / 260.8 MB, free: 13.9 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.01479, allocations: 16 kB / 260.8 MB, free: 13.89 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004498/0.01524, allocations: 254.7 kB / 261.1 MB, free: 13.64 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00115/0.01639, allocations: 0.8034 MB / 261.9 MB, free: 12.81 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004176/0.01681, allocations: 265.6 kB / 262.1 MB, free: 12.55 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001524/0.01696, allocations: 138.2 kB / 262.3 MB, free: 12.41 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.933e-05/0.017, allocations: 12.5 kB / 262.3 MB, free: 12.4 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.01702, allocations: 39.06 kB / 262.3 MB, free: 12.35 MB / 250.7 MB Notification: Performance of pre-optimization done (n=58): time 1.704e-06/0.01703, allocations: 0 / 262.3 MB, free: 12.35 MB / 250.7 MB Notification: Performance of matching and sorting (n=64): time 0.002432/0.01946, allocations: 1.585 MB / 263.9 MB, free: 10.71 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.089e-05/0.01949, allocations: 56.06 kB / 263.9 MB, free: 10.64 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.01967, allocations: 286.9 kB / 264.2 MB, free: 10.35 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.462e-05/0.01971, allocations: 49.69 kB / 264.3 MB, free: 10.3 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.539e-05/0.01979, allocations: 178 kB / 264.4 MB, free: 10.12 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001222/0.01991, allocations: 226.1 kB / 264.7 MB, free: 9.898 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001517/0.02006, allocations: 134.5 kB / 264.8 MB, free: 9.762 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.706e-05/0.02016, allocations: 354.7 kB / 265.1 MB, free: 9.406 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001854/0.02035, allocations: 133.9 kB / 265.3 MB, free: 9.273 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000182/0.02053, allocations: 193.1 kB / 265.5 MB, free: 9.074 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000292/0.02082, allocations: 298.7 kB / 265.8 MB, free: 8.777 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.02082, allocations: 0 / 265.8 MB, free: 8.777 MB / 250.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0005724/0.02139, allocations: 478 kB / 266.2 MB, free: 8.301 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.02141, allocations: 4 kB / 266.2 MB, free: 8.297 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.02142, allocations: 4 kB / 266.2 MB, free: 8.293 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006781/0.0221, allocations: 0.5745 MB / 266.8 MB, free: 7.715 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002255/0.02232, allocations: 103.8 kB / 266.9 MB, free: 7.613 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006237/0.02295, allocations: 0.798 MB / 267.7 MB, free: 6.789 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002718/0.02322, allocations: 79.91 kB / 267.8 MB, free: 6.711 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.31e-05/0.02325, allocations: 16 kB / 267.8 MB, free: 6.695 MB / 250.7 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.0001577/0.02341, allocations: 162.5 kB / 268 MB, free: 6.523 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.429e-05/0.02348, allocations: 47.95 kB / 268 MB, free: 6.477 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.276e-05/0.02356, allocations: 72.75 kB / 268.1 MB, free: 6.402 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.02356, allocations: 4 kB / 268.1 MB, free: 6.398 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.02357, allocations: 3.938 kB / 268.1 MB, free: 6.395 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.02357, allocations: 3.984 kB / 268.1 MB, free: 6.391 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00115/0.02472, allocations: 0.8022 MB / 268.9 MB, free: 5.562 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.02473, allocations: 0 / 268.9 MB, free: 5.562 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002387/0.02497, allocations: 91.89 kB / 269 MB, free: 5.473 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005984/0.02556, allocations: 0.5667 MB / 269.5 MB, free: 4.902 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.377e-05/0.0256, allocations: 27.89 kB / 269.6 MB, free: 4.875 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005587/0.02616, allocations: 0.7942 MB / 270.4 MB, free: 4.055 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.02616, allocations: 0 / 270.4 MB, free: 4.055 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008002/0.02696, allocations: 0.7221 MB / 271.1 MB, free: 3.309 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001377/0.0271, allocations: 79.7 kB / 271.2 MB, free: 3.23 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.026e-05/0.02716, allocations: 20 kB / 271.2 MB, free: 3.211 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002114/0.02737, allocations: 71.91 kB / 271.3 MB, free: 3.141 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001783/0.02755, allocations: 136.3 kB / 271.4 MB, free: 3.008 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.303e-05/0.02758, allocations: 23.97 kB / 271.4 MB, free: 2.984 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.266e-05/0.02766, allocations: 104.6 kB / 271.5 MB, free: 2.879 MB / 250.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.02766, allocations: 3.938 kB / 271.5 MB, free: 2.875 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003773/0.02804, allocations: 164 kB / 271.7 MB, free: 2.715 MB / 250.7 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.0001988/0.02824, allocations: 132.2 kB / 271.8 MB, free: 2.574 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0005907/0.02883, allocations: 437.8 kB / 272.2 MB, free: 2.148 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/0.02884, allocations: 4 kB / 272.2 MB, free: 2.145 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003291/0.02916, allocations: 280.4 kB / 272.5 MB, free: 1.867 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003723/0.02954, allocations: 125.6 kB / 272.6 MB, free: 1.746 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001488/0.03102, allocations: 1.019 MB / 273.7 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.647e-05/0.0311, allocations: 122.6 kB / 273.8 MB, free: 0.5664 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001222/0.03122, allocations: 47.44 kB / 273.8 MB, free: 0.5195 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001995/0.03142, allocations: 139.3 kB / 274 MB, free: 392 kB / 250.7 MB Notification: Performance of SimCode: time 1.293e-06/0.03142, allocations: 7.938 kB / 274 MB, free: 384 kB / 250.7 MB Notification: Performance of Templates: time 0.01465/0.04608, allocations: 12.54 MB / 286.5 MB, free: 3.859 MB / 266.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.CoupledClutches.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.CoupledClutches_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/CoupledClutches/CoupledClutches.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9381871316581964]