Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.000754/0.000754, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001085/0.001839, allocations: 449.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.000762/0.000762, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009446/0.001707, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9356/0.9356, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1012/1.037, allocations: 53.64 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 244.5 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.346e-05/2.526e-05, allocations: 2.312 kB / 244.5 MB, free: 14.33 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged): time 0.003767/0.003792, allocations: 2.406 MB / 246.9 MB, free: 11.9 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001378/0.00517, allocations: 0.8603 MB / 247.8 MB, free: 11.04 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001214/0.005292, allocations: 7.938 kB / 247.8 MB, free: 11.03 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002146/0.005507, allocations: 51.56 kB / 247.8 MB, free: 10.98 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002526/0.005759, allocations: 115.1 kB / 247.9 MB, free: 10.86 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001799/0.005939, allocations: 79.78 kB / 248 MB, free: 10.79 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003058/0.006245, allocations: 287.3 kB / 248.3 MB, free: 10.5 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.006375, allocations: 34.55 kB / 248.3 MB, free: 10.47 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003238/0.006698, allocations: 195.6 kB / 248.5 MB, free: 10.28 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002152/0.006914, allocations: 107.7 kB / 248.6 MB, free: 10.17 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.795e-05/0.006952, allocations: 20 kB / 248.7 MB, free: 10.15 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001706/0.007122, allocations: 79.8 kB / 248.7 MB, free: 10.07 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.737e-05/0.007189, allocations: 43.88 kB / 248.8 MB, free: 10.03 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.824e-05/0.007268, allocations: 63.88 kB / 248.8 MB, free: 9.969 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003362/0.007604, allocations: 219.2 kB / 249.1 MB, free: 9.754 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.503e-05/0.007619, allocations: 0 / 249.1 MB, free: 9.754 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.00762, allocations: 0 / 249.1 MB, free: 9.754 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.212e-05/0.007632, allocations: 0 / 249.1 MB, free: 9.754 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.0005633/0.008196, allocations: 499.5 kB / 249.5 MB, free: 9.242 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.132e-05/0.008227, allocations: 8.031 kB / 249.5 MB, free: 9.234 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001438/0.008371, allocations: 114 kB / 249.7 MB, free: 9.105 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002068/0.008577, allocations: 194.1 kB / 249.8 MB, free: 8.887 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/0.0086, allocations: 16.75 kB / 249.9 MB, free: 8.871 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.588e-05/0.008626, allocations: 16.38 kB / 249.9 MB, free: 8.855 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.008797, allocations: 177 kB / 250.1 MB, free: 8.672 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.008808, allocations: 8.141 kB / 250.1 MB, free: 8.664 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.008821, allocations: 8.359 kB / 250.1 MB, free: 8.656 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.008827, allocations: 7.938 kB / 250.1 MB, free: 8.648 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.296e-05/0.00891, allocations: 59.95 kB / 250.1 MB, free: 8.59 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000519/0.009429, allocations: 0.4909 MB / 250.6 MB, free: 8.074 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001701/0.009599, allocations: 89.27 kB / 250.7 MB, free: 7.98 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.881e-05/0.009638, allocations: 36.78 kB / 250.7 MB, free: 7.941 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/0.009653, allocations: 4 kB / 250.8 MB, free: 7.938 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/0.009674, allocations: 38.5 kB / 250.8 MB, free: 7.891 MB / 250.7 MB Notification: Performance of pre-optimization done (n=19): time 2.985e-06/0.009677, allocations: 3.984 kB / 250.8 MB, free: 7.887 MB / 250.7 MB Notification: Performance of matching and sorting (n=21): time 0.0007754/0.01045, allocations: 0.5572 MB / 251.4 MB, free: 7.273 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/0.01048, allocations: 55.41 kB / 251.4 MB, free: 7.207 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.0106, allocations: 197.5 kB / 251.6 MB, free: 7 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.01062, allocations: 29.7 kB / 251.6 MB, free: 6.965 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.138e-05/0.01067, allocations: 132.4 kB / 251.8 MB, free: 6.832 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002991/0.01097, allocations: 79.34 kB / 251.8 MB, free: 6.754 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.82e-05/0.01101, allocations: 53.69 kB / 251.9 MB, free: 6.695 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.035e-05/0.01109, allocations: 330.8 kB / 252.2 MB, free: 6.363 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.494e-05/0.01112, allocations: 27.98 kB / 252.2 MB, free: 6.336 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.201e-05/0.01117, allocations: 71.31 kB / 252.3 MB, free: 6.254 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001003/0.01127, allocations: 97.97 kB / 252.4 MB, free: 6.148 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.01127, allocations: 0 / 252.4 MB, free: 6.148 MB / 250.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0001716/0.01145, allocations: 158.3 kB / 252.6 MB, free: 5.984 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.01146, allocations: 8 kB / 252.6 MB, free: 5.977 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.01147, allocations: 4.062 kB / 252.6 MB, free: 5.973 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001145/0.01158, allocations: 36.83 kB / 252.6 MB, free: 5.934 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.922e-05/0.01167, allocations: 43.91 kB / 252.6 MB, free: 5.891 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008911/0.01256, allocations: 1.48 MB / 254.1 MB, free: 4.328 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.957e-05/0.01263, allocations: 15.98 kB / 254.1 MB, free: 4.312 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.01264, allocations: 12 kB / 254.2 MB, free: 4.301 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 7.831e-05/0.01272, allocations: 136.6 kB / 254.3 MB, free: 4.156 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.648e-05/0.01275, allocations: 15.98 kB / 254.3 MB, free: 4.141 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.706e-05/0.01277, allocations: 25.97 kB / 254.3 MB, free: 4.117 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.01277, allocations: 0 / 254.3 MB, free: 4.117 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.01278, allocations: 4.062 kB / 254.3 MB, free: 4.113 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.01278, allocations: 7.922 kB / 254.3 MB, free: 4.105 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003516/0.01313, allocations: 365.4 kB / 254.7 MB, free: 3.711 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.01314, allocations: 0 / 254.7 MB, free: 3.711 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.328e-05/0.01323, allocations: 35.97 kB / 254.7 MB, free: 3.676 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.876e-05/0.01327, allocations: 31.83 kB / 254.8 MB, free: 3.645 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.145e-05/0.01334, allocations: 36.83 kB / 254.8 MB, free: 3.605 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.01335, allocations: 7.984 kB / 254.8 MB, free: 3.598 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006807/0.01403, allocations: 1.316 MB / 256.1 MB, free: 2.199 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.01403, allocations: 3.938 kB / 256.1 MB, free: 2.195 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002308/0.01427, allocations: 300.5 kB / 256.4 MB, free: 1.883 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.01428, allocations: 8 kB / 256.4 MB, free: 1.875 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.184e-05/0.01436, allocations: 16.02 kB / 256.4 MB, free: 1.859 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.409e-05/0.01444, allocations: 59.83 kB / 256.5 MB, free: 1.801 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.01445, allocations: 7.984 kB / 256.5 MB, free: 1.793 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.709e-05/0.0145, allocations: 56.69 kB / 256.6 MB, free: 1.734 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0145, allocations: 0 / 256.6 MB, free: 1.734 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000224/0.01472, allocations: 71.94 kB / 256.6 MB, free: 1.664 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.0009612/0.01568, allocations: 485.4 kB / 257.1 MB, free: 1.406 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002903/0.01597, allocations: 250.5 kB / 257.4 MB, free: 1.148 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/0.01598, allocations: 4 kB / 257.4 MB, free: 1.145 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001344/0.01611, allocations: 202 kB / 257.6 MB, free: 0.9336 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002157/0.01633, allocations: 67.27 kB / 257.6 MB, free: 0.8711 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002236/0.01857, allocations: 0.5076 MB / 258.1 MB, free: 336 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.784e-05/0.01862, allocations: 84.31 kB / 258.2 MB, free: 232 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.564e-05/0.01869, allocations: 25.94 kB / 258.2 MB, free: 208 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.73e-05/0.01878, allocations: 87.34 kB / 258.3 MB, free: 120 kB / 250.7 MB Notification: Performance of SimCode: time 9.62e-07/0.01878, allocations: 0 / 258.3 MB, free: 120 kB / 250.7 MB Notification: Performance of Templates: time 0.006401/0.02518, allocations: 4.199 MB / 262.5 MB, free: 11.97 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.5607341453433037]