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.000746/0.000746, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009042/0.00165, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0009527/0.0009527, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009706/0.001923, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.046/1.046, allocations: 177.4 MB / 189.9 MB, free: 4.809 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08715/1.133, allocations: 53.85 MB / 243.7 MB, free: 14.89 MB / 250.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.333e-06/1.333e-06, allocations: 0 / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.232e-05/1.366e-05, allocations: 6.25 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged): time 0.0036/0.003614, allocations: 2.393 MB / 247.4 MB, free: 11.23 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001462/0.005077, allocations: 0.868 MB / 248.3 MB, free: 10.36 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001416/0.005218, allocations: 4 kB / 248.3 MB, free: 10.35 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002091/0.005427, allocations: 51.52 kB / 248.3 MB, free: 10.3 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002575/0.005685, allocations: 111.2 kB / 248.4 MB, free: 10.19 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002038/0.005889, allocations: 91.75 kB / 248.5 MB, free: 10.1 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003057/0.006194, allocations: 283.3 kB / 248.8 MB, free: 9.824 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.006323, allocations: 54.52 kB / 248.8 MB, free: 9.773 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003059/0.006629, allocations: 187.6 kB / 249 MB, free: 9.59 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002079/0.006837, allocations: 99.75 kB / 249.1 MB, free: 9.492 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.75e-05/0.006875, allocations: 20 kB / 249.1 MB, free: 9.473 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001723/0.007047, allocations: 83.84 kB / 249.2 MB, free: 9.391 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.331e-05/0.00711, allocations: 39.81 kB / 249.3 MB, free: 9.352 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.587e-05/0.007186, allocations: 63.88 kB / 249.3 MB, free: 9.289 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003253/0.007511, allocations: 223.2 kB / 249.5 MB, free: 9.07 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.509e-05/0.007526, allocations: 4 kB / 249.6 MB, free: 9.066 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.007527, allocations: 0 / 249.6 MB, free: 9.066 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.703e-05/0.007544, allocations: 0 / 249.6 MB, free: 9.066 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0006908/0.008235, allocations: 495.5 kB / 250 MB, free: 8.559 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.008268, allocations: 8.625 kB / 250 MB, free: 8.551 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001696/0.008438, allocations: 118 kB / 250.2 MB, free: 8.418 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002448/0.008682, allocations: 190.1 kB / 250.3 MB, free: 8.203 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.473e-05/0.008707, allocations: 16.75 kB / 250.4 MB, free: 8.188 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.621e-05/0.008743, allocations: 24.38 kB / 250.4 MB, free: 8.164 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002262/0.00897, allocations: 165.4 kB / 250.5 MB, free: 7.992 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.008986, allocations: 4.141 kB / 250.6 MB, free: 7.988 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.805e-05/0.009004, allocations: 12.38 kB / 250.6 MB, free: 7.977 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.009013, allocations: 7.938 kB / 250.6 MB, free: 7.969 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001244/0.009138, allocations: 63.64 kB / 250.6 MB, free: 7.906 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007189/0.009857, allocations: 0.491 MB / 251.1 MB, free: 7.391 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001977/0.01005, allocations: 97.72 kB / 251.2 MB, free: 7.289 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.828e-05/0.0101, allocations: 32.8 kB / 251.3 MB, free: 7.254 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.529e-05/0.01012, allocations: 4 kB / 251.3 MB, free: 7.25 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/0.01014, allocations: 30.56 kB / 251.3 MB, free: 7.211 MB / 250.7 MB Notification: Performance of pre-optimization done (n=19): time 1.603e-06/0.01014, allocations: 0 / 251.3 MB, free: 7.211 MB / 250.7 MB Notification: Performance of matching and sorting (n=21): time 0.0009304/0.01107, allocations: 0.5694 MB / 251.9 MB, free: 6.586 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.593e-05/0.0111, allocations: 59.34 kB / 251.9 MB, free: 6.516 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.01123, allocations: 192.9 kB / 252.1 MB, free: 6.312 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.01125, allocations: 29.7 kB / 252.1 MB, free: 6.277 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.939e-05/0.01131, allocations: 144.3 kB / 252.3 MB, free: 6.133 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.011e-05/0.01136, allocations: 71.38 kB / 252.3 MB, free: 6.062 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.75e-05/0.01143, allocations: 53.67 kB / 252.4 MB, free: 6.004 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.403e-05/0.01151, allocations: 330.8 kB / 252.7 MB, free: 5.672 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.855e-05/0.01156, allocations: 27.98 kB / 252.7 MB, free: 5.645 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.758e-05/0.01163, allocations: 67.38 kB / 252.8 MB, free: 5.566 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001135/0.01174, allocations: 103.9 kB / 252.9 MB, free: 5.453 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.01174, allocations: 0 / 252.9 MB, free: 5.453 MB / 250.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0001981/0.01194, allocations: 150.4 kB / 253.1 MB, free: 5.297 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.01195, allocations: 4 kB / 253.1 MB, free: 5.293 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.01196, allocations: 4 kB / 253.1 MB, free: 5.289 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001244/0.01208, allocations: 52.81 kB / 253.1 MB, free: 5.234 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.01219, allocations: 35.98 kB / 253.2 MB, free: 5.199 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001098/0.01329, allocations: 1.472 MB / 254.6 MB, free: 3.645 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001146/0.0134, allocations: 20.02 kB / 254.6 MB, free: 3.625 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.478e-05/0.01342, allocations: 4.156 kB / 254.6 MB, free: 3.621 MB / 250.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 9.226e-05/0.01351, allocations: 132.6 kB / 254.8 MB, free: 3.48 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.401e-05/0.01355, allocations: 19.97 kB / 254.8 MB, free: 3.461 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.729e-05/0.01359, allocations: 25.95 kB / 254.8 MB, free: 3.438 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.01359, allocations: 4 kB / 254.8 MB, free: 3.434 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.0136, allocations: 0 / 254.8 MB, free: 3.434 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.0136, allocations: 64 / 254.8 MB, free: 3.434 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005128/0.01411, allocations: 381.4 kB / 255.2 MB, free: 3.023 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.01412, allocations: 0 / 255.2 MB, free: 3.023 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001452/0.01426, allocations: 35.92 kB / 255.2 MB, free: 2.988 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.903e-05/0.01432, allocations: 23.83 kB / 255.3 MB, free: 2.965 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001039/0.01442, allocations: 44.81 kB / 255.3 MB, free: 2.918 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.01444, allocations: 8 kB / 255.3 MB, free: 2.91 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009914/0.01543, allocations: 1.316 MB / 256.6 MB, free: 1.512 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.01543, allocations: 0 / 256.6 MB, free: 1.512 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000336/0.01577, allocations: 290.3 kB / 256.9 MB, free: 1.203 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.481e-05/0.01579, allocations: 4 kB / 256.9 MB, free: 1.199 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.0159, allocations: 15.98 kB / 256.9 MB, free: 1.184 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.01601, allocations: 59.83 kB / 257 MB, free: 1.125 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.809e-06/0.01602, allocations: 8.031 kB / 257 MB, free: 1.117 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.291e-05/0.01608, allocations: 68.59 kB / 257.1 MB, free: 1.047 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01608, allocations: 0 / 257.1 MB, free: 1.047 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003057/0.01639, allocations: 71.94 kB / 257.1 MB, free: 0.9766 MB / 250.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.001197/0.01758, allocations: 477.4 kB / 257.6 MB, free: 0.6914 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000313/0.0179, allocations: 242.4 kB / 257.8 MB, free: 452 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.075e-06/0.0179, allocations: 0 / 257.8 MB, free: 452 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002294/0.01813, allocations: 210.3 kB / 258 MB, free: 228 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.01839, allocations: 67.58 kB / 258.1 MB, free: 164 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003561/0.02195, allocations: 0.4999 MB / 258.6 MB, free: 15.62 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.401e-05/0.02202, allocations: 96.16 kB / 258.7 MB, free: 15.51 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.871e-05/0.0221, allocations: 17.95 kB / 258.7 MB, free: 15.5 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.0222, allocations: 83.36 kB / 258.8 MB, free: 15.41 MB / 266.7 MB Notification: Performance of SimCode: time 6.51e-07/0.0222, allocations: 4 kB / 258.8 MB, free: 15.41 MB / 266.7 MB Notification: Performance of Templates: time 0.007872/0.03007, allocations: 4.198 MB / 263 MB, free: 11.26 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 -emit_protected -ignoreHideResult -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.628196801058948]