Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009525/0.0009525, allocations: 84.86 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009118/0.0009118, allocations: 165.8 kB / 24.91 MB, free: 8.758 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9719/0.9719, allocations: 177 MB / 205.2 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] 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.OneWayClutchDisengaged,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inertiaIn.phi|inertiaIn.w|oneWayClutch.phi_rel|oneWayClutch.w_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged") translateModel(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inertiaIn.phi|inertiaIn.w|oneWayClutch.phi_rel|oneWayClutch.w_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 273.4 MB, free: 1.203 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.256e-05/2.429e-05, allocations: 2.312 kB / 273.4 MB, free: 1.199 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged): time 0.003067/0.003091, allocations: 2.385 MB / 275.8 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001168/0.004259, allocations: 0.8565 MB / 276.7 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001131/0.004372, allocations: 7.938 kB / 276.7 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002402/0.004612, allocations: 47.58 kB / 276.7 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002411/0.004853, allocations: 111.1 kB / 276.8 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001719/0.005025, allocations: 79.83 kB / 276.9 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002471/0.005272, allocations: 283.3 kB / 277.2 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.005397, allocations: 58.45 kB / 277.2 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002514/0.005648, allocations: 171.6 kB / 277.4 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001812/0.005829, allocations: 107.7 kB / 277.5 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.206e-05/0.005861, allocations: 20 kB / 277.5 MB, free: 13.06 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001395/0.006001, allocations: 75.91 kB / 277.6 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.427e-05/0.006065, allocations: 59.81 kB / 277.7 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.208e-05/0.006127, allocations: 75.81 kB / 277.7 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002945/0.006422, allocations: 235.1 kB / 278 MB, free: 12.62 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.006425, allocations: 0 / 278 MB, free: 12.62 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.006426, allocations: 0 / 278 MB, free: 12.62 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.006433, allocations: 0 / 278 MB, free: 12.62 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0005127/0.006945, allocations: 455.8 kB / 278.4 MB, free: 12.16 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.055e-05/0.006976, allocations: 15.98 kB / 278.4 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000119/0.007095, allocations: 40.89 kB / 278.5 MB, free: 12.1 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002116/0.007306, allocations: 190.1 kB / 278.7 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.007326, allocations: 20.69 kB / 278.7 MB, free: 11.87 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.077e-05/0.007357, allocations: 16.38 kB / 278.7 MB, free: 11.85 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001983/0.007556, allocations: 173.5 kB / 278.9 MB, free: 11.67 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.007568, allocations: 8.141 kB / 278.9 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.007581, allocations: 4.375 kB / 278.9 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.007587, allocations: 7.938 kB / 278.9 MB, free: 11.65 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.968e-05/0.007677, allocations: 67.89 kB / 278.9 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005659/0.008243, allocations: 0.4909 MB / 279.4 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001776/0.008421, allocations: 82.47 kB / 279.5 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.347e-05/0.008474, allocations: 40.78 kB / 279.6 MB, free: 10.94 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.602e-05/0.00849, allocations: 4 kB / 279.6 MB, free: 10.93 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.008513, allocations: 38.56 kB / 279.6 MB, free: 10.89 MB / 266.7 MB Notification: Performance of pre-optimization done (n=19): time 1.813e-06/0.008515, allocations: 0 / 279.6 MB, free: 10.89 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.0008538/0.009369, allocations: 0.557 MB / 280.2 MB, free: 10.28 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.089e-05/0.0094, allocations: 55.41 kB / 280.2 MB, free: 10.21 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.009545, allocations: 201.4 kB / 280.4 MB, free: 10 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.009566, allocations: 33.7 kB / 280.4 MB, free: 9.961 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.237e-05/0.009628, allocations: 132.4 kB / 280.6 MB, free: 9.828 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.341e-05/0.009672, allocations: 79.34 kB / 280.6 MB, free: 9.75 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.869e-05/0.00973, allocations: 45.69 kB / 280.7 MB, free: 9.699 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.879e-05/0.009819, allocations: 334.8 kB / 281 MB, free: 9.363 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.002e-05/0.009859, allocations: 24 kB / 281 MB, free: 9.34 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.214e-05/0.009921, allocations: 71.36 kB / 281.1 MB, free: 9.258 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.858e-05/0.01002, allocations: 103.2 kB / 281.2 MB, free: 9.145 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.01002, allocations: 0 / 281.2 MB, free: 9.145 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0001762/0.0102, allocations: 158.3 kB / 281.4 MB, free: 8.98 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.01021, allocations: 8 kB / 281.4 MB, free: 8.973 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.01022, allocations: 0 / 281.4 MB, free: 8.973 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001216/0.01034, allocations: 44.8 kB / 281.4 MB, free: 8.926 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.201e-05/0.01043, allocations: 43.92 kB / 281.5 MB, free: 8.883 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009729/0.0114, allocations: 1.469 MB / 282.9 MB, free: 7.332 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.252e-05/0.01148, allocations: 12 kB / 282.9 MB, free: 7.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.627e-05/0.01149, allocations: 16.05 kB / 283 MB, free: 7.305 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 (oneWayClutch.free,oneWayClutch.stuck,$PRE.oneWayClutch.stuck,oneWayClutch.locked,oneWayClutch.startForward,$PRE.oneWayClutch.startForward) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 24 * 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 {(1,6)} Notification: Performance of prepare postOptimizeDAE: time 8.05e-05/0.01157, allocations: 132.6 kB / 283.1 MB, free: 7.164 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.98e-05/0.0116, allocations: 15.98 kB / 283.1 MB, free: 7.148 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.706e-05/0.01163, allocations: 30 kB / 283.1 MB, free: 7.113 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.01163, allocations: 7.922 kB / 283.1 MB, free: 7.105 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.01163, allocations: 4 kB / 283.1 MB, free: 7.102 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.01164, allocations: 0 / 283.1 MB, free: 7.102 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003748/0.01201, allocations: 361.4 kB / 283.5 MB, free: 6.711 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.01201, allocations: 0 / 283.5 MB, free: 6.711 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.612e-05/0.01211, allocations: 32.03 kB / 283.5 MB, free: 6.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.941e-05/0.01219, allocations: 48.77 kB / 283.6 MB, free: 6.629 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.0122, allocations: 11.98 kB / 283.6 MB, free: 6.617 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007272/0.01293, allocations: 1.312 MB / 284.9 MB, free: 5.223 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01293, allocations: 0 / 284.9 MB, free: 5.223 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002434/0.01317, allocations: 293.8 kB / 285.2 MB, free: 4.914 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.06e-05/0.01321, allocations: 23.84 kB / 285.2 MB, free: 4.891 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/0.01323, allocations: 8 kB / 285.2 MB, free: 4.883 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.645e-05/0.01331, allocations: 15.92 kB / 285.2 MB, free: 4.867 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.142e-05/0.0134, allocations: 59.83 kB / 285.3 MB, free: 4.809 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.01341, allocations: 11.98 kB / 285.3 MB, free: 4.797 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.449e-05/0.01346, allocations: 55.48 kB / 285.4 MB, free: 4.738 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01346, allocations: 0 / 285.4 MB, free: 4.738 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002252/0.01369, allocations: 75.94 kB / 285.4 MB, free: 4.664 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inertiaOut.w,oneWayClutch.phi_rel,oneWayClutch.w_rel,torqueLoad.phi) * Number of discrete variables: 3 (oneWayClutch.startForward,oneWayClutch.locked,oneWayClutch.stuck) * Number of discrete states: 2 (oneWayClutch.stuck,oneWayClutch.startForward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * 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 {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001001/0.01469, allocations: 428.6 kB / 285.8 MB, free: 4.395 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003435/0.01503, allocations: 262.4 kB / 286.1 MB, free: 4.125 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.01504, allocations: 0 / 286.1 MB, free: 4.125 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001483/0.01519, allocations: 199.3 kB / 286.3 MB, free: 3.914 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002248/0.01541, allocations: 39.97 kB / 286.3 MB, free: 3.875 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008269/0.01624, allocations: 0.5236 MB / 286.9 MB, free: 3.316 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.603e-05/0.01629, allocations: 88.23 kB / 286.9 MB, free: 3.211 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.613e-05/0.01636, allocations: 30 kB / 287 MB, free: 3.184 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.907e-05/0.01645, allocations: 79.36 kB / 287.1 MB, free: 3.105 MB / 266.7 MB Notification: Performance of SimCode: time 9.71e-07/0.01645, allocations: 0 / 287.1 MB, free: 3.105 MB / 266.7 MB Notification: Performance of Templates: time 0.1029/0.1193, allocations: 4.116 MB / 291.2 MB, free: 25.1 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/OneWayClutchDisengaged/OneWayClutchDisengaged.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.7484689713455737]