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.0009562/0.0009562, allocations: 80.8 kB / 22.29 MB, free: 2.203 MB / 18.57 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.0009978/0.0009978, allocations: 163.9 kB / 25.69 MB, free: 8.441 MB / 18.57 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.9597/0.9597, allocations: 158.6 MB / 187.6 MB, free: 2.789 MB / 170.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.493e-06/1.493e-06, allocations: 0 / 251.6 MB, free: 7.254 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.296e-05/2.446e-05, allocations: 10.19 kB / 251.6 MB, free: 7.242 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged): time 0.003099/0.003124, allocations: 2.276 MB / 253.8 MB, free: 4.949 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00122/0.004344, allocations: 0.7291 MB / 254.6 MB, free: 4.211 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001335/0.004477, allocations: 11.88 kB / 254.6 MB, free: 4.199 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001792/0.004656, allocations: 31.66 kB / 254.6 MB, free: 4.168 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001667/0.004823, allocations: 67.48 kB / 254.7 MB, free: 4.102 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003301/0.005153, allocations: 103.6 kB / 254.8 MB, free: 4 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002699/0.005423, allocations: 271.4 kB / 255 MB, free: 3.734 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.005546, allocations: 42.53 kB / 255.1 MB, free: 3.695 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000209/0.005755, allocations: 151.7 kB / 255.2 MB, free: 3.547 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001608/0.005915, allocations: 99.73 kB / 255.3 MB, free: 3.449 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.846e-05/0.005944, allocations: 20 kB / 255.3 MB, free: 3.43 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001508/0.006095, allocations: 79.8 kB / 255.4 MB, free: 3.352 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.019e-05/0.006155, allocations: 51.81 kB / 255.5 MB, free: 3.301 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.514e-05/0.00622, allocations: 79.83 kB / 255.6 MB, free: 3.223 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002808/0.006501, allocations: 219.2 kB / 255.8 MB, free: 3.008 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.006505, allocations: 0 / 255.8 MB, free: 3.008 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.006506, allocations: 0 / 255.8 MB, free: 3.008 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.006511, allocations: 0 / 255.8 MB, free: 3.008 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.000503/0.007014, allocations: 428.2 kB / 256.2 MB, free: 2.562 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.007048, allocations: 15.98 kB / 256.2 MB, free: 2.547 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.006e-05/0.007098, allocations: 28.91 kB / 256.2 MB, free: 2.52 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001989/0.007297, allocations: 161.4 kB / 256.4 MB, free: 2.336 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/0.007321, allocations: 12.88 kB / 256.4 MB, free: 2.32 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.144e-05/0.007363, allocations: 28.36 kB / 256.4 MB, free: 2.293 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002099/0.007573, allocations: 179.7 kB / 256.6 MB, free: 2.105 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.007591, allocations: 16.09 kB / 256.6 MB, free: 2.09 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.007606, allocations: 12.38 kB / 256.6 MB, free: 2.078 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.007614, allocations: 7.938 kB / 256.6 MB, free: 2.07 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.888e-05/0.007703, allocations: 61.08 kB / 256.7 MB, free: 2.012 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006098/0.008313, allocations: 0.4959 MB / 257.2 MB, free: 1.488 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001884/0.008501, allocations: 98.44 kB / 257.3 MB, free: 1.383 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.95e-05/0.008541, allocations: 28.86 kB / 257.3 MB, free: 1.352 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/0.008558, allocations: 3.938 kB / 257.3 MB, free: 1.348 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.008581, allocations: 38.55 kB / 257.4 MB, free: 1.301 MB / 234.7 MB Notification: Performance of pre-optimization done (n=18): time 1.512e-06/0.008582, allocations: 0 / 257.4 MB, free: 1.301 MB / 234.7 MB Notification: Performance of matching and sorting (n=20): time 0.0008823/0.009465, allocations: 0.5498 MB / 257.9 MB, free: 0.6953 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.93e-05/0.009494, allocations: 55.41 kB / 258 MB, free: 0.6289 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.009608, allocations: 182.5 kB / 258.1 MB, free: 448 kB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.009628, allocations: 33.64 kB / 258.2 MB, free: 408 kB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.127e-05/0.00969, allocations: 140.3 kB / 258.3 MB, free: 264 kB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.84e-05/0.009728, allocations: 67.41 kB / 258.4 MB, free: 196 kB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.362e-05/0.009792, allocations: 61.62 kB / 258.4 MB, free: 128 kB / 234.7 MB Notification: Performance of setup shared object (initialization): time 9.183e-05/0.009884, allocations: 330.8 kB / 258.8 MB, free: 15.79 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.234e-05/0.009926, allocations: 31.98 kB / 258.8 MB, free: 15.76 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.918e-05/0.009985, allocations: 72.61 kB / 258.9 MB, free: 15.68 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001023/0.01009, allocations: 104.7 kB / 259 MB, free: 15.57 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.01009, allocations: 0 / 259 MB, free: 15.57 MB / 250.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0001901/0.01028, allocations: 168.1 kB / 259.1 MB, free: 15.39 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.01029, allocations: 7.938 kB / 259.1 MB, free: 15.39 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.0103, allocations: 3.984 kB / 259.1 MB, free: 15.38 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001563/0.01046, allocations: 56.86 kB / 259.2 MB, free: 15.32 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.267e-05/0.01055, allocations: 43.92 kB / 259.2 MB, free: 15.28 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002913/0.01084, allocations: 0.5602 MB / 259.8 MB, free: 14.7 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.455e-05/0.01093, allocations: 15.98 kB / 259.8 MB, free: 14.68 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.01094, allocations: 8 kB / 259.8 MB, free: 14.67 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 8.361e-05/0.01102, allocations: 132.5 kB / 260 MB, free: 14.53 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.141e-05/0.01105, allocations: 20.02 kB / 260 MB, free: 14.51 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.366e-05/0.01109, allocations: 25.8 kB / 260 MB, free: 14.48 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.01109, allocations: 0 / 260 MB, free: 14.48 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.01109, allocations: 0 / 260 MB, free: 14.48 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.01109, allocations: 0 / 260 MB, free: 14.48 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000397/0.01149, allocations: 361 kB / 260.4 MB, free: 14.1 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.01149, allocations: 0 / 260.4 MB, free: 14.1 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.522e-05/0.01159, allocations: 35.92 kB / 260.4 MB, free: 14.06 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001007/0.01169, allocations: 64.8 kB / 260.4 MB, free: 14 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.0117, allocations: 0 / 260.4 MB, free: 14 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002484/0.01195, allocations: 0.5641 MB / 261 MB, free: 13.41 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.01195, allocations: 0 / 261 MB, free: 13.41 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002521/0.0122, allocations: 289.8 kB / 261.3 MB, free: 13.1 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.378e-05/0.01224, allocations: 19.89 kB / 261.3 MB, free: 13.08 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.157e-05/0.01227, allocations: 8.031 kB / 261.3 MB, free: 13.07 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.235e-05/0.01234, allocations: 19.92 kB / 261.3 MB, free: 13.05 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.118e-05/0.01239, allocations: 31.83 kB / 261.4 MB, free: 13.02 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/0.0124, allocations: 4 kB / 261.4 MB, free: 13.02 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.161e-05/0.01244, allocations: 49.33 kB / 261.4 MB, free: 12.96 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01244, allocations: 0 / 261.4 MB, free: 12.96 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001996/0.01264, allocations: 63.94 kB / 261.5 MB, free: 12.9 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.0001535/0.01279, allocations: 96.56 kB / 261.6 MB, free: 12.8 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.00024/0.01303, allocations: 133.7 kB / 261.7 MB, free: 12.66 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.431e-06/0.01304, allocations: 0 / 261.7 MB, free: 12.66 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 9.008e-05/0.01313, allocations: 84.36 kB / 261.8 MB, free: 12.58 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002294/0.01336, allocations: 52.42 kB / 261.8 MB, free: 12.53 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000855/0.01421, allocations: 490.4 kB / 262.3 MB, free: 12.02 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.976e-05/0.01427, allocations: 83.97 kB / 262.4 MB, free: 11.92 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.373e-05/0.01434, allocations: 21.94 kB / 262.4 MB, free: 11.89 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.392e-05/0.01442, allocations: 79.36 kB / 262.5 MB, free: 11.82 MB / 250.7 MB Notification: Performance of SimCode: time 1.142e-06/0.01442, allocations: 0 / 262.5 MB, free: 11.82 MB / 250.7 MB Notification: Performance of Templates: time 0.006638/0.02106, allocations: 3.136 MB / 265.6 MB, free: 8.703 MB / 250.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 -s gbode -gbm=radauIIA3 -emit_protected -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.705196720547974]