Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008537/0.0008537, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001285/0.002138, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008975/0.0008975, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001407/0.002304, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9368/0.9368, allocations: 158.6 MB / 171.1 MB, free: 2.566 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.147/1.084, allocations: 49.48 MB / 220.5 MB, free: 1.449 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_3.2.3_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_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 221.8 MB, free: 196 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.718e-05/1.833e-05, allocations: 10.25 kB / 221.8 MB, free: 184 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged): time 0.002311/0.002329, allocations: 2.277 MB / 224.1 MB, free: 13.88 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009273/0.003257, allocations: 0.7252 MB / 224.8 MB, free: 13.15 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.631e-05/0.003353, allocations: 3.938 kB / 224.8 MB, free: 13.14 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001157/0.003469, allocations: 39.66 kB / 224.9 MB, free: 13.11 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001215/0.00359, allocations: 75.41 kB / 224.9 MB, free: 13.03 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002334/0.003823, allocations: 95.67 kB / 225 MB, free: 12.94 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002324/0.004056, allocations: 267.4 kB / 225.3 MB, free: 12.68 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.004165, allocations: 54.42 kB / 225.3 MB, free: 12.62 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000185/0.00435, allocations: 167.6 kB / 225.5 MB, free: 12.46 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001617/0.004512, allocations: 91.77 kB / 225.6 MB, free: 12.37 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.774e-05/0.00454, allocations: 16 kB / 225.6 MB, free: 12.36 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001316/0.004671, allocations: 79.83 kB / 225.7 MB, free: 12.28 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.955e-05/0.004721, allocations: 43.86 kB / 225.7 MB, free: 12.23 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.927e-05/0.00478, allocations: 63.88 kB / 225.8 MB, free: 12.17 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002392/0.005019, allocations: 183.4 kB / 226 MB, free: 11.99 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.349e-05/0.005033, allocations: 0 / 226 MB, free: 11.99 MB / 234.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.005034, allocations: 0 / 226 MB, free: 11.99 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.652e-05/0.00505, allocations: 0 / 226 MB, free: 11.99 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.0005868/0.005637, allocations: 467.9 kB / 226.4 MB, free: 11.51 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.056e-05/0.005668, allocations: 12.03 kB / 226.4 MB, free: 11.5 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.995e-05/0.005718, allocations: 32.86 kB / 226.5 MB, free: 11.47 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001814/0.005899, allocations: 169.4 kB / 226.6 MB, free: 11.28 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.511e-05/0.005924, allocations: 16.88 kB / 226.7 MB, free: 11.26 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.882e-05/0.005953, allocations: 16.38 kB / 226.7 MB, free: 11.24 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002059/0.006159, allocations: 187.7 kB / 226.9 MB, free: 11.05 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.006169, allocations: 192 / 226.9 MB, free: 11.05 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.006184, allocations: 12.38 kB / 226.9 MB, free: 11.04 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.006192, allocations: 11.92 kB / 226.9 MB, free: 11.02 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.177e-05/0.006284, allocations: 61.08 kB / 226.9 MB, free: 10.96 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006186/0.006902, allocations: 0.515 MB / 227.5 MB, free: 10.42 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001839/0.007086, allocations: 90.36 kB / 227.5 MB, free: 10.32 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.74e-05/0.007124, allocations: 32.84 kB / 227.6 MB, free: 10.29 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.007141, allocations: 4 kB / 227.6 MB, free: 10.29 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.968e-05/0.007161, allocations: 34.5 kB / 227.6 MB, free: 10.24 MB / 234.7 MB Notification: Performance of pre-optimization done (n=18): time 1.262e-06/0.007162, allocations: 0 / 227.6 MB, free: 10.24 MB / 234.7 MB Notification: Performance of matching and sorting (n=20): time 0.0008597/0.008022, allocations: 0.5647 MB / 228.2 MB, free: 9.621 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.038e-05/0.008052, allocations: 51.41 kB / 228.2 MB, free: 9.559 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.008177, allocations: 179.3 kB / 228.4 MB, free: 9.371 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.008195, allocations: 29.7 kB / 228.4 MB, free: 9.336 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.524e-05/0.00826, allocations: 136.3 kB / 228.6 MB, free: 9.199 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.638e-05/0.008307, allocations: 75.41 kB / 228.6 MB, free: 9.125 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.083e-05/0.008368, allocations: 57.62 kB / 228.7 MB, free: 9.062 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 9.171e-05/0.008459, allocations: 334.8 kB / 229 MB, free: 8.727 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.61e-05/0.008505, allocations: 35.98 kB / 229.1 MB, free: 8.691 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.047e-05/0.008566, allocations: 75.81 kB / 229.1 MB, free: 8.605 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001041/0.00867, allocations: 92.77 kB / 229.2 MB, free: 8.504 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.008672, allocations: 3.938 kB / 229.2 MB, free: 8.5 MB / 234.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0001995/0.008872, allocations: 172 kB / 229.4 MB, free: 8.324 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.008888, allocations: 7.938 kB / 229.4 MB, free: 8.316 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.008896, allocations: 12.05 kB / 229.4 MB, free: 8.305 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001615/0.009057, allocations: 44.83 kB / 229.5 MB, free: 8.258 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.997e-05/0.009157, allocations: 47.92 kB / 229.5 MB, free: 8.211 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002929/0.00945, allocations: 0.568 MB / 230.1 MB, free: 7.617 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.602e-05/0.009536, allocations: 15.98 kB / 230.1 MB, free: 7.602 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.749e-06/0.009546, allocations: 4 kB / 230.1 MB, free: 7.598 MB / 234.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 7.912e-05/0.009625, allocations: 132.6 kB / 230.2 MB, free: 7.457 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.578e-05/0.009651, allocations: 23.92 kB / 230.2 MB, free: 7.434 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.356e-05/0.009684, allocations: 25.8 kB / 230.3 MB, free: 7.414 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.009686, allocations: 0 / 230.3 MB, free: 7.414 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-06/0.009688, allocations: 0 / 230.3 MB, free: 7.414 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.009691, allocations: 4 kB / 230.3 MB, free: 7.41 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003643/0.01006, allocations: 360 kB / 230.6 MB, free: 7.027 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.01006, allocations: 0 / 230.6 MB, free: 7.027 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.64e-05/0.01015, allocations: 47.97 kB / 230.7 MB, free: 6.98 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.836e-05/0.01019, allocations: 19.84 kB / 230.7 MB, free: 6.961 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.832e-05/0.01028, allocations: 48.81 kB / 230.7 MB, free: 6.91 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.01029, allocations: 4 kB / 230.7 MB, free: 6.906 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002188/0.01051, allocations: 0.568 MB / 231.3 MB, free: 6.312 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.01051, allocations: 0 / 231.3 MB, free: 6.312 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002257/0.01073, allocations: 289.7 kB / 231.6 MB, free: 6.004 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/0.01076, allocations: 4 kB / 231.6 MB, free: 6 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.182e-05/0.01083, allocations: 12.08 kB / 231.6 MB, free: 5.988 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.243e-05/0.01088, allocations: 35.81 kB / 231.6 MB, free: 5.953 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.01089, allocations: 8 kB / 231.7 MB, free: 5.945 MB / 234.7 MB Notification: Performance of sorting global known variables: time 4.117e-05/0.01093, allocations: 48.78 kB / 231.7 MB, free: 5.895 MB / 234.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.01093, allocations: 0 / 231.7 MB, free: 5.895 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0002026/0.01113, allocations: 71.92 kB / 231.8 MB, free: 5.824 MB / 234.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.0001814/0.01132, allocations: 104.3 kB / 231.9 MB, free: 5.711 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0002342/0.01155, allocations: 129.7 kB / 232 MB, free: 5.582 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/0.01156, allocations: 0 / 232 MB, free: 5.582 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 7.912e-05/0.01164, allocations: 69.89 kB / 232.1 MB, free: 5.512 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002233/0.01186, allocations: 55.92 kB / 232.1 MB, free: 5.457 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002343/0.0142, allocations: 490.4 kB / 232.6 MB, free: 4.945 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.939e-05/0.01425, allocations: 83.97 kB / 232.7 MB, free: 4.844 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 6.171e-05/0.01431, allocations: 17.95 kB / 232.7 MB, free: 4.824 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.105e-05/0.01439, allocations: 75.36 kB / 232.8 MB, free: 4.75 MB / 234.7 MB Notification: Performance of SimCode: time 1.022e-06/0.0144, allocations: 0 / 232.8 MB, free: 4.75 MB / 234.7 MB Notification: Performance of Templates: time 0.005398/0.01979, allocations: 3.219 MB / 236 MB, free: 1.551 MB / 234.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.6591547057032585]