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.001475/0.001475, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.00185/0.00185, allocations: 170 kB / 24.82 MB, free: 9.254 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.9801/0.9801, allocations: 177 MB / 205.1 MB, free: 5.496 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.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 1.723e-06/1.723e-06, allocations: 0 / 273.3 MB, free: 1.27 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.866e-05/2.038e-05, allocations: 2.312 kB / 273.3 MB, free: 1.266 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutch): time 0.002824/0.002844, allocations: 2.293 MB / 275.6 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001207/0.004051, allocations: 0.845 MB / 276.4 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000127/0.004178, allocations: 4 kB / 276.5 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002377/0.004416, allocations: 51.52 kB / 276.5 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002789/0.004695, allocations: 115.1 kB / 276.6 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002324/0.004927, allocations: 91.75 kB / 276.7 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002826/0.00521, allocations: 303.3 kB / 277 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.005329, allocations: 44.55 kB / 277 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002741/0.005604, allocations: 179.6 kB / 277.2 MB, free: 13.33 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001683/0.005772, allocations: 111.7 kB / 277.3 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.317e-05/0.005805, allocations: 20 kB / 277.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001296/0.005935, allocations: 75.86 kB / 277.4 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.351e-05/0.005998, allocations: 55.81 kB / 277.5 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.06e-05/0.006069, allocations: 87.8 kB / 277.6 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000311/0.00638, allocations: 247.1 kB / 277.8 MB, free: 12.74 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.006384, allocations: 7.984 kB / 277.8 MB, free: 12.73 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.006385, allocations: 0 / 277.8 MB, free: 12.73 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.006389, allocations: 0 / 277.8 MB, free: 12.73 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0007009/0.00709, allocations: 0.6062 MB / 278.4 MB, free: 12.09 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.007132, allocations: 11.98 kB / 278.4 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001542/0.007286, allocations: 52.78 kB / 278.5 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000252/0.007538, allocations: 206.2 kB / 278.7 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.661e-05/0.007565, allocations: 20.38 kB / 278.7 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.696e-05/0.007602, allocations: 20.36 kB / 278.7 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002304/0.007832, allocations: 173.4 kB / 278.9 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.007843, allocations: 192 / 278.9 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.662e-05/0.00786, allocations: 12.38 kB / 278.9 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.007867, allocations: 7.938 kB / 278.9 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001052/0.007972, allocations: 71.8 kB / 279 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005942/0.008567, allocations: 0.5885 MB / 279.6 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002145/0.008781, allocations: 134.8 kB / 279.7 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.567e-05/0.008837, allocations: 47.66 kB / 279.7 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.008855, allocations: 4 kB / 279.8 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001599/0.009015, allocations: 120.9 kB / 279.9 MB, free: 10.52 MB / 266.7 MB Notification: Performance of pre-optimization done (n=25): time 1.663e-06/0.009016, allocations: 0 / 279.9 MB, free: 10.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=27): time 0.0009411/0.009958, allocations: 0.6532 MB / 280.5 MB, free: 9.809 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.183e-05/0.009989, allocations: 59.41 kB / 280.6 MB, free: 9.738 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/0.01014, allocations: 250 kB / 280.8 MB, free: 9.477 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.01016, allocations: 33.7 kB / 280.9 MB, free: 9.438 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.312e-05/0.01025, allocations: 183.3 kB / 281 MB, free: 9.254 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.543e-05/0.0103, allocations: 91.2 kB / 281.1 MB, free: 9.164 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.366e-05/0.01038, allocations: 67.28 kB / 281.2 MB, free: 9.09 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.0105, allocations: 0.5079 MB / 281.7 MB, free: 8.57 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.062e-05/0.01058, allocations: 65.42 kB / 281.8 MB, free: 8.5 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.867e-05/0.01066, allocations: 116.4 kB / 281.9 MB, free: 8.363 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001367/0.0108, allocations: 153.4 kB / 282 MB, free: 8.191 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.0108, allocations: 0 / 282 MB, free: 8.191 MB / 266.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0003271/0.01113, allocations: 306.2 kB / 282.3 MB, free: 7.871 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.598e-05/0.01117, allocations: 44.5 kB / 282.4 MB, free: 7.824 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.01117, allocations: 0 / 282.4 MB, free: 7.824 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001128/0.01128, allocations: 35.67 kB / 282.4 MB, free: 7.785 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.0114, allocations: 55.91 kB / 282.5 MB, free: 7.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001173/0.01257, allocations: 2.115 MB / 284.6 MB, free: 5.504 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001175/0.01269, allocations: 19.98 kB / 284.6 MB, free: 5.484 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/0.0127, allocations: 12 kB / 284.6 MB, free: 5.473 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: 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.0001436/0.01285, allocations: 176.5 kB / 284.8 MB, free: 5.289 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.928e-05/0.01289, allocations: 35.8 kB / 284.8 MB, free: 5.254 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.105e-05/0.01292, allocations: 26.66 kB / 284.8 MB, free: 5.227 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.01292, allocations: 4 kB / 284.8 MB, free: 5.223 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-06/0.01292, allocations: 3.938 kB / 284.8 MB, free: 5.219 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.01293, allocations: 3.984 kB / 284.8 MB, free: 5.215 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005249/0.01345, allocations: 0.5174 MB / 285.4 MB, free: 4.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.01346, allocations: 0 / 285.4 MB, free: 4.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001103/0.01357, allocations: 31.98 kB / 285.4 MB, free: 4.629 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.985e-05/0.01366, allocations: 51.64 kB / 285.4 MB, free: 4.574 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.01367, allocations: 11.98 kB / 285.5 MB, free: 4.562 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009837/0.01466, allocations: 1.87 MB / 287.3 MB, free: 2.578 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.01466, allocations: 3.938 kB / 287.3 MB, free: 2.574 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005329/0.01519, allocations: 420.9 kB / 287.7 MB, free: 2.141 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.881e-05/0.01529, allocations: 39.86 kB / 287.8 MB, free: 2.102 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.009e-05/0.01532, allocations: 4 kB / 287.8 MB, free: 2.098 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001531/0.01547, allocations: 23.97 kB / 287.8 MB, free: 2.074 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/0.01559, allocations: 75.84 kB / 287.9 MB, free: 2 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.01561, allocations: 7.984 kB / 287.9 MB, free: 1.992 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.94e-05/0.0157, allocations: 173 kB / 288.1 MB, free: 1.824 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0157, allocations: 0 / 288.1 MB, free: 1.824 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003086/0.016, allocations: 79.98 kB / 288.1 MB, free: 1.746 MB / 266.7 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.0007559/0.01676, allocations: 347.7 kB / 288.5 MB, free: 1.496 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004595/0.01722, allocations: 415.3 kB / 288.9 MB, free: 1.051 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.01722, allocations: 0 / 288.9 MB, free: 1.051 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002058/0.01743, allocations: 289.3 kB / 289.2 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002692/0.0177, allocations: 47.97 kB / 289.2 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009439/0.01864, allocations: 0.5683 MB / 289.8 MB, free: 104 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.623e-05/0.01871, allocations: 92.31 kB / 289.9 MB, free: 15.99 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.129e-05/0.01878, allocations: 25.94 kB / 289.9 MB, free: 15.97 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001368/0.01891, allocations: 118.2 kB / 290 MB, free: 15.85 MB / 282.7 MB Notification: Performance of SimCode: time 1.443e-06/0.01892, allocations: 0 / 290 MB, free: 15.85 MB / 282.7 MB Notification: Performance of Templates: time 0.006322/0.02524, allocations: 4.979 MB / 295 MB, free: 10.93 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutch.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutch_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/OneWayClutch/OneWayClutch.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.892710154876113]