Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00125/0.002272, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006431/0.0006431, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009558/0.001599, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8381/0.8381, allocations: 173.4 MB / 186 MB, free: 7.527 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1508/0.9889, allocations: 52.49 MB / 238.5 MB, free: 7.637 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 239.7 MB, free: 6.379 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.056e-05/1.218e-05, allocations: 2.969 kB / 239.7 MB, free: 6.375 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged): time 0.002152/0.002164, allocations: 2.283 MB / 242 MB, free: 4.098 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008153/0.002979, allocations: 0.6788 MB / 242.7 MB, free: 3.418 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.772e-05/0.003067, allocations: 7.938 kB / 242.7 MB, free: 3.41 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001068/0.003174, allocations: 35.66 kB / 242.7 MB, free: 3.375 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001117/0.003285, allocations: 72.22 kB / 242.8 MB, free: 3.305 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002203/0.003505, allocations: 92.91 kB / 242.9 MB, free: 3.215 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002161/0.003722, allocations: 275.3 kB / 243.2 MB, free: 2.945 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.003824, allocations: 47.5 kB / 243.2 MB, free: 2.898 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001789/0.004003, allocations: 171.6 kB / 243.4 MB, free: 2.73 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001416/0.004144, allocations: 92.67 kB / 243.5 MB, free: 2.641 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.679e-05/0.004171, allocations: 20 kB / 243.5 MB, free: 2.621 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001261/0.004297, allocations: 85.64 kB / 243.6 MB, free: 2.539 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.816e-05/0.004345, allocations: 35.88 kB / 243.6 MB, free: 2.504 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.287e-05/0.004398, allocations: 63.81 kB / 243.7 MB, free: 2.441 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002097/0.004608, allocations: 187.4 kB / 243.9 MB, free: 2.258 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.387e-06/0.004617, allocations: 4 kB / 243.9 MB, free: 2.254 MB / 234.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.004618, allocations: 0.6562 kB / 243.9 MB, free: 2.254 MB / 234.7 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.004627, allocations: 0 / 243.9 MB, free: 2.254 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0005209/0.005147, allocations: 470.5 kB / 244.3 MB, free: 1.773 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.663e-05/0.005174, allocations: 8.031 kB / 244.3 MB, free: 1.766 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.933e-05/0.005223, allocations: 36.91 kB / 244.4 MB, free: 1.73 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.005386, allocations: 153.5 kB / 244.5 MB, free: 1.555 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.005405, allocations: 18.34 kB / 244.5 MB, free: 1.539 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3e-05/0.005435, allocations: 24.31 kB / 244.6 MB, free: 1.516 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001951/0.00563, allocations: 183.8 kB / 244.7 MB, free: 1.32 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.005642, allocations: 8.125 kB / 244.7 MB, free: 1.312 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.005654, allocations: 9 kB / 244.8 MB, free: 1.305 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.005662, allocations: 7.938 kB / 244.8 MB, free: 1.297 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.587e-05/0.005748, allocations: 65.42 kB / 244.8 MB, free: 1.234 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005347/0.006283, allocations: 0.5068 MB / 245.3 MB, free: 0.7031 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000388/0.006671, allocations: 82.47 kB / 245.4 MB, free: 0.6133 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.722e-05/0.006708, allocations: 36.78 kB / 245.4 MB, free: 0.5742 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.495e-05/0.006723, allocations: 4 kB / 245.5 MB, free: 0.5703 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.838e-05/0.006741, allocations: 39.72 kB / 245.5 MB, free: 0.5234 MB / 234.7 MB Notification: Performance of pre-optimization done (n=18): time 2.715e-06/0.006744, allocations: 7.922 kB / 245.5 MB, free: 0.5156 MB / 234.7 MB Notification: Performance of matching and sorting (n=20): time 0.0008171/0.007561, allocations: 0.6499 MB / 246.1 MB, free: 15.8 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.122e-05/0.007582, allocations: 51.41 kB / 246.2 MB, free: 15.73 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.04e-05/0.007673, allocations: 175.8 kB / 246.4 MB, free: 15.55 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.007687, allocations: 30.36 kB / 246.4 MB, free: 15.52 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.944e-05/0.007737, allocations: 148.1 kB / 246.5 MB, free: 15.37 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.683e-05/0.007773, allocations: 77.89 kB / 246.6 MB, free: 15.29 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.435e-05/0.007828, allocations: 57.67 kB / 246.7 MB, free: 15.23 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.931e-05/0.007907, allocations: 330.8 kB / 247 MB, free: 14.9 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.606e-05/0.007943, allocations: 27.98 kB / 247 MB, free: 14.87 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.474e-05/0.007998, allocations: 68.69 kB / 247.1 MB, free: 14.79 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.743e-05/0.008095, allocations: 115.5 kB / 247.2 MB, free: 14.67 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.008097, allocations: 0 / 247.2 MB, free: 14.67 MB / 250.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0001628/0.008259, allocations: 173.2 kB / 247.4 MB, free: 14.49 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.008271, allocations: 14.94 kB / 247.4 MB, free: 14.48 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.008275, allocations: 0 / 247.4 MB, free: 14.48 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001297/0.008405, allocations: 54.45 kB / 247.4 MB, free: 14.43 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.898e-05/0.008494, allocations: 43.92 kB / 247.5 MB, free: 14.38 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002368/0.008731, allocations: 0.5641 MB / 248.1 MB, free: 13.79 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.165e-05/0.008802, allocations: 15.98 kB / 248.1 MB, free: 13.78 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.008818, allocations: 8 kB / 248.1 MB, free: 13.77 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 (26): * Single equations (assignments): 25 * 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 6.717e-05/0.008885, allocations: 128.5 kB / 248.2 MB, free: 13.63 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.391e-05/0.008909, allocations: 15.98 kB / 248.2 MB, free: 13.62 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.124e-05/0.00894, allocations: 25.8 kB / 248.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.008942, allocations: 4 kB / 248.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.008944, allocations: 0 / 248.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.008947, allocations: 0 / 248.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003346/0.009282, allocations: 365.1 kB / 248.6 MB, free: 13.2 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.009283, allocations: 0 / 248.6 MB, free: 13.2 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.722e-05/0.00937, allocations: 31.98 kB / 248.6 MB, free: 13.16 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.496e-05/0.009405, allocations: 27.77 kB / 248.7 MB, free: 13.14 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.279e-05/0.009488, allocations: 60.83 kB / 248.7 MB, free: 13.07 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.009498, allocations: 4 kB / 248.7 MB, free: 13.07 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002034/0.009702, allocations: 0.568 MB / 249.3 MB, free: 12.48 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.009703, allocations: 0 / 249.3 MB, free: 12.48 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002101/0.009913, allocations: 293.8 kB / 249.6 MB, free: 12.16 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.93e-05/0.009933, allocations: 8 kB / 249.6 MB, free: 12.16 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.903e-05/0.01, allocations: 15.98 kB / 249.6 MB, free: 12.14 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.296e-05/0.01004, allocations: 27.83 kB / 249.6 MB, free: 12.11 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.243e-06/0.01005, allocations: 4 kB / 249.6 MB, free: 12.11 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.538e-05/0.01009, allocations: 48.84 kB / 249.7 MB, free: 12.06 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01009, allocations: 0 / 249.7 MB, free: 12.06 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001707/0.01026, allocations: 63.94 kB / 249.7 MB, free: 12 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 (14): * Single equations (assignments): 13 * 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.0001157/0.01037, allocations: 108.3 kB / 249.8 MB, free: 11.88 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001903/0.01056, allocations: 131.6 kB / 250 MB, free: 11.75 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.715e-06/0.01057, allocations: 7.984 kB / 250 MB, free: 11.74 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 8.801e-05/0.01066, allocations: 78.17 kB / 250.1 MB, free: 11.66 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002595/0.01092, allocations: 307.2 kB / 250.4 MB, free: 11.31 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002169/0.01309, allocations: 0.4911 MB / 250.9 MB, free: 10.79 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.222e-05/0.01313, allocations: 79.97 kB / 250.9 MB, free: 10.69 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.147e-05/0.01318, allocations: 18.12 kB / 250.9 MB, free: 10.67 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.105e-05/0.01326, allocations: 87.36 kB / 251 MB, free: 10.58 MB / 250.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01326, allocations: 0 / 251 MB, free: 10.58 MB / 250.7 MB Notification: Performance of Templates: time 0.004791/0.01805, allocations: 3.235 MB / 254.3 MB, free: 7.402 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/OneWayClutchDisengaged/OneWayClutchDisengaged.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.492546888999641]