Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutch.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.001654/0.001654, allocations: 112.9 kB / 19.17 MB, free: 3.871 MB / 14.72 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.001991/0.001991, allocations: 210.5 kB / 22.13 MB, free: 0.918 MB / 14.72 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 1.485/1.485, allocations: 230.2 MB / 255.1 MB, free: 15.43 MB / 206.1 MB " [Timeout remaining time 178] 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.OneWayClutch,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.OneWayClutch") translateModel(Modelica.Mechanics.Rotational.Examples.OneWayClutch,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.OneWayClutch") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002572/0.002572, allocations: 71.81 kB / 374.5 MB, free: 9.965 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1071, allocations: 53.32 MB / 427.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutch): time 0.003953/0.111, allocations: 2.301 MB / 430.1 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001567/0.1126, allocations: 0.8685 MB / 431 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001157/0.1127, allocations: 7.938 kB / 431 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002683/0.113, allocations: 47.62 kB / 431 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002798/0.1133, allocations: 115.2 kB / 431.2 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002399/0.1135, allocations: 83.83 kB / 431.2 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003839/0.1139, allocations: 291.4 kB / 431.5 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001602/0.1141, allocations: 44.38 kB / 431.6 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000282/0.1143, allocations: 131.5 kB / 431.7 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002304/0.1146, allocations: 135.4 kB / 431.8 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.561e-05/0.1146, allocations: 24 kB / 431.8 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000172/0.1148, allocations: 79.97 kB / 431.9 MB, free: 428 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.128e-05/0.1149, allocations: 59.81 kB / 432 MB, free: 368 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001273/0.115, allocations: 115.4 kB / 432.1 MB, free: 252 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004781/0.1155, allocations: 318.7 kB / 432.4 MB, free: 15.93 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1155, allocations: 0 / 432.4 MB, free: 15.93 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1155, allocations: 3.938 kB / 432.4 MB, free: 15.93 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.1155, allocations: 0 / 432.4 MB, free: 15.93 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.001131/0.1166, allocations: 0.5895 MB / 433 MB, free: 15.29 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.1167, allocations: 16.03 kB / 433 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001872/0.1168, allocations: 36.73 kB / 433.1 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004346/0.1173, allocations: 248.8 kB / 433.3 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.643e-05/0.1173, allocations: 12.38 kB / 433.3 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.447e-05/0.1174, allocations: 20.38 kB / 433.3 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005405/0.1179, allocations: 239.2 kB / 433.6 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.1179, allocations: 0 / 433.6 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.434e-05/0.1179, allocations: 4 kB / 433.6 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.118, allocations: 8 kB / 433.6 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005239/0.1185, allocations: 183.9 kB / 433.8 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001089/0.1196, allocations: 0.6526 MB / 434.4 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006101/0.1202, allocations: 186.5 kB / 434.6 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002568/0.1204, allocations: 96.73 kB / 434.7 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.586e-05/0.1205, allocations: 4 kB / 434.7 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003949/0.1209, allocations: 171.2 kB / 434.9 MB, free: 13.3 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 1.533e-06/0.1209, allocations: 0 / 434.9 MB, free: 13.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=27): time 0.002767/0.1236, allocations: 1.159 MB / 436 MB, free: 12.03 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.207e-05/0.1237, allocations: 59.41 kB / 436.1 MB, free: 11.96 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002351/0.1239, allocations: 195.4 kB / 436.3 MB, free: 11.76 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.69e-05/0.1239, allocations: 37.64 kB / 436.3 MB, free: 11.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.1241, allocations: 136.5 kB / 436.4 MB, free: 11.58 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.423e-05/0.1242, allocations: 95.2 kB / 436.5 MB, free: 11.48 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/0.1243, allocations: 57.7 kB / 436.6 MB, free: 11.42 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.1244, allocations: 330.8 kB / 436.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002898/0.1247, allocations: 107.9 kB / 437 MB, free: 10.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003189/0.125, allocations: 148.1 kB / 437.2 MB, free: 10.83 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005357/0.1256, allocations: 242 kB / 437.4 MB, free: 10.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1256, allocations: 0 / 437.4 MB, free: 10.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0008731/0.1264, allocations: 377.8 kB / 437.8 MB, free: 10.19 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.149e-05/0.1265, allocations: 33.7 kB / 437.8 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.1265, allocations: 0 / 437.8 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002205/0.1267, allocations: 64.83 kB / 437.9 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002227/0.1269, allocations: 51.91 kB / 437.9 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00207/0.129, allocations: 1.799 MB / 439.7 MB, free: 8.094 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002964/0.1293, allocations: 40.05 kB / 439.7 MB, free: 8.055 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.744e-05/0.1293, allocations: 12 kB / 439.8 MB, free: 8.043 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 11 (signalEngagement.count,$PRE.signalEngagement.count,signalEngagement.T_start,$PRE.signalEngagement.T_start,oneWayClutch.free,oneWayClutch.stuck,$PRE.oneWayClutch.stuck,oneWayClutch.locked,oneWayClutch.startForward,$PRE.oneWayClutch.startForward,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001696/0.1295, allocations: 141.7 kB / 439.9 MB, free: 7.895 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.937e-05/0.1296, allocations: 27.8 kB / 439.9 MB, free: 7.867 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.969e-05/0.1296, allocations: 30.55 kB / 440 MB, free: 7.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.157e-06/0.1296, allocations: 4 kB / 440 MB, free: 7.836 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.1297, allocations: 8 kB / 440 MB, free: 7.828 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.1297, allocations: 0 / 440 MB, free: 7.828 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001262/0.1309, allocations: 0.683 MB / 440.6 MB, free: 7.086 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.1309, allocations: 0 / 440.6 MB, free: 7.086 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002433/0.1312, allocations: 47.89 kB / 440.7 MB, free: 7.039 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001663/0.1313, allocations: 56.88 kB / 440.7 MB, free: 6.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.788e-05/0.1314, allocations: 15.97 kB / 440.8 MB, free: 6.965 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0018/0.1332, allocations: 1.641 MB / 442.4 MB, free: 5.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.1332, allocations: 0 / 442.4 MB, free: 5.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/0.1343, allocations: 0.5016 MB / 442.9 MB, free: 4.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/0.1344, allocations: 121 kB / 443 MB, free: 4.523 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.759e-05/0.1344, allocations: 4 kB / 443 MB, free: 4.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002597/0.1347, allocations: 39.89 kB / 443.1 MB, free: 4.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000176/0.1349, allocations: 71.83 kB / 443.1 MB, free: 4.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.111e-05/0.1349, allocations: 8 kB / 443.1 MB, free: 4.402 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001613/0.1351, allocations: 143.2 kB / 443.3 MB, free: 4.262 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1351, allocations: 0 / 443.3 MB, free: 4.262 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004396/0.1355, allocations: 79.94 kB / 443.4 MB, free: 4.184 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (inertiaOut.phi,inertiaOut.w,oneWayClutch.phi_rel,oneWayClutch.w_rel) * Number of discrete variables: 7 ($whenCondition1,oneWayClutch.startForward,oneWayClutch.locked,oneWayClutch.stuck,oneWayClutch.free,signalEngagement.T_start,signalEngagement.count) * Number of discrete states: 3 (signalEngagement.count,oneWayClutch.stuck,oneWayClutch.startForward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001328/0.1368, allocations: 374.8 kB / 443.7 MB, free: 3.938 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001009/0.1378, allocations: 429.7 kB / 444.1 MB, free: 3.492 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.1378, allocations: 0 / 444.1 MB, free: 3.492 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004796/0.1383, allocations: 258.6 kB / 444.4 MB, free: 3.227 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004284/0.1388, allocations: 51.06 kB / 444.5 MB, free: 3.184 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001446/0.1402, allocations: 0.6958 MB / 445.1 MB, free: 2.453 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004266/0.1406, allocations: 0.7479 MB / 445.9 MB, free: 1.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.1407, allocations: 31.42 kB / 445.9 MB, free: 1.648 MB / 366.1 MB Notification: Performance of SimCode: time 1.012e-06/0.1407, allocations: 0 / 445.9 MB, free: 1.648 MB / 366.1 MB Notification: Performance of Templates: time 0.1912/0.3319, allocations: 4.378 MB / 450.3 MB, free: 23.22 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutch.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutch.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutch.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutch.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutch.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutch -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutch.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutch_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/OneWayClutch/OneWayClutch.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutch.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: 7.955327951116487]