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.002069/0.002069, allocations: 87.67 kB / 21.73 MB, free: 2.676 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.002322/0.002322, allocations: 158.2 kB / 25.03 MB, free: 8.957 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 1.37/1.37, allocations: 158.6 MB / 186.8 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 178] 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.583e-06/1.583e-06, allocations: 0 / 250.3 MB, free: 7.863 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.826e-05/2.985e-05, allocations: 2.312 kB / 250.3 MB, free: 7.859 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged): time 0.003982/0.004012, allocations: 2.214 MB / 252.6 MB, free: 5.629 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001496/0.005507, allocations: 0.7176 MB / 253.3 MB, free: 4.902 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001062/0.005613, allocations: 4 kB / 253.3 MB, free: 4.898 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002014/0.005815, allocations: 31.66 kB / 253.3 MB, free: 4.867 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002009/0.006016, allocations: 75.34 kB / 253.4 MB, free: 4.793 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003614/0.006377, allocations: 99.75 kB / 253.5 MB, free: 4.695 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003736/0.006751, allocations: 275.3 kB / 253.7 MB, free: 4.426 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/0.006896, allocations: 44.53 kB / 253.8 MB, free: 4.383 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002674/0.007163, allocations: 163.6 kB / 254 MB, free: 4.223 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000216/0.007379, allocations: 91.75 kB / 254 MB, free: 4.133 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.961e-05/0.007429, allocations: 20 kB / 254.1 MB, free: 4.113 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002911/0.00772, allocations: 71.88 kB / 254.1 MB, free: 4.043 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 9.068e-05/0.007811, allocations: 47.83 kB / 254.2 MB, free: 3.996 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001166/0.007927, allocations: 79.81 kB / 254.3 MB, free: 3.918 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004679/0.008395, allocations: 291.1 kB / 254.5 MB, free: 3.633 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.008402, allocations: 3.984 kB / 254.5 MB, free: 3.629 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.008404, allocations: 4 kB / 254.5 MB, free: 3.625 MB / 234.7 MB Notification: Performance of Transformations before backend: time 6.643e-06/0.00841, allocations: 4 kB / 254.6 MB, free: 3.621 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.0009957/0.009406, allocations: 0.5426 MB / 255.1 MB, free: 3.043 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.00945, allocations: 11.98 kB / 255.1 MB, free: 3.031 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001072/0.009557, allocations: 40.8 kB / 255.1 MB, free: 2.992 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003246/0.009882, allocations: 184.2 kB / 255.3 MB, free: 2.785 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.1e-05/0.009923, allocations: 16.88 kB / 255.3 MB, free: 2.766 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.629e-05/0.009969, allocations: 24.31 kB / 255.4 MB, free: 2.742 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004536/0.01042, allocations: 228.8 kB / 255.6 MB, free: 2.504 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.223e-05/0.01044, allocations: 8.141 kB / 255.6 MB, free: 2.496 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.39e-05/0.01047, allocations: 8.375 kB / 255.6 MB, free: 2.488 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.01048, allocations: 7.938 kB / 255.6 MB, free: 2.48 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003705/0.01085, allocations: 161 kB / 255.8 MB, free: 2.324 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001381/0.01223, allocations: 0.7645 MB / 256.5 MB, free: 1.508 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004157/0.01265, allocations: 134.9 kB / 256.7 MB, free: 1.363 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001519/0.0128, allocations: 67.66 kB / 256.7 MB, free: 1.293 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.154e-05/0.01283, allocations: 7.984 kB / 256.7 MB, free: 1.285 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.01286, allocations: 37.39 kB / 256.8 MB, free: 1.238 MB / 234.7 MB Notification: Performance of pre-optimization done (n=18): time 1.493e-06/0.01286, allocations: 0 / 256.8 MB, free: 1.238 MB / 234.7 MB Notification: Performance of matching and sorting (n=20): time 0.001941/0.0148, allocations: 0.7522 MB / 257.5 MB, free: 432 kB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001942/0.015, allocations: 51.41 kB / 257.6 MB, free: 368 kB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000284/0.01528, allocations: 269.7 kB / 257.8 MB, free: 80 kB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.112e-05/0.01531, allocations: 33.7 kB / 257.9 MB, free: 40 kB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/0.01548, allocations: 191.1 kB / 258.1 MB, free: 15.85 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.417e-05/0.01557, allocations: 83.36 kB / 258.1 MB, free: 15.77 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.01568, allocations: 63.36 kB / 258.2 MB, free: 15.7 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002861/0.01597, allocations: 0.5079 MB / 258.7 MB, free: 15.18 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001677/0.01614, allocations: 67.97 kB / 258.8 MB, free: 15.11 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002127/0.01635, allocations: 128 kB / 258.9 MB, free: 14.97 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003516/0.0167, allocations: 184 kB / 259.1 MB, free: 14.77 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.0167, allocations: 0 / 259.1 MB, free: 14.77 MB / 250.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005837/0.01729, allocations: 294.7 kB / 259.4 MB, free: 14.48 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.0173, allocations: 4 kB / 259.4 MB, free: 14.47 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.01731, allocations: 0 / 259.4 MB, free: 14.47 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002865/0.0176, allocations: 71.64 kB / 259.4 MB, free: 14.4 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001654/0.01776, allocations: 43.92 kB / 259.5 MB, free: 14.36 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008131/0.01857, allocations: 0.8898 MB / 260.4 MB, free: 13.43 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001756/0.01875, allocations: 15.98 kB / 260.4 MB, free: 13.42 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.579e-05/0.01878, allocations: 11.94 kB / 260.4 MB, free: 13.41 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 0.0001774/0.01895, allocations: 187.8 kB / 260.6 MB, free: 13.21 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.954e-05/0.01901, allocations: 27.83 kB / 260.6 MB, free: 13.19 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.613e-05/0.01908, allocations: 21.81 kB / 260.6 MB, free: 13.16 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.01908, allocations: 0 / 260.6 MB, free: 13.16 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/0.01909, allocations: 4 kB / 260.6 MB, free: 13.16 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.01909, allocations: 4.031 kB / 260.6 MB, free: 13.16 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/0.02011, allocations: 0.5977 MB / 261.2 MB, free: 12.5 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.02011, allocations: 3.938 kB / 261.2 MB, free: 12.5 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001621/0.02027, allocations: 27.98 kB / 261.3 MB, free: 12.47 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002039/0.02048, allocations: 71.67 kB / 261.3 MB, free: 12.4 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.739e-05/0.02051, allocations: 11.98 kB / 261.4 MB, free: 12.39 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000738/0.02124, allocations: 0.8859 MB / 262.2 MB, free: 11.47 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.02125, allocations: 0 / 262.2 MB, free: 11.47 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007347/0.02198, allocations: 470.6 kB / 262.7 MB, free: 10.98 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.263e-05/0.02206, allocations: 31.88 kB / 262.7 MB, free: 10.95 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.734e-05/0.0221, allocations: 7.938 kB / 262.7 MB, free: 10.94 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/0.02226, allocations: 15.98 kB / 262.8 MB, free: 10.92 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.724e-05/0.02236, allocations: 23.95 kB / 262.8 MB, free: 10.9 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/0.02238, allocations: 12.03 kB / 262.8 MB, free: 10.89 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001769/0.02256, allocations: 191.6 kB / 263 MB, free: 10.7 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02256, allocations: 0 / 263 MB, free: 10.7 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000337/0.02289, allocations: 59.94 kB / 263 MB, free: 10.64 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.0002253/0.02312, allocations: 119.2 kB / 263.2 MB, free: 10.52 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0005492/0.02367, allocations: 220.8 kB / 263.4 MB, free: 10.3 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.02367, allocations: 0 / 263.4 MB, free: 10.3 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002512/0.02392, allocations: 104.8 kB / 263.5 MB, free: 10.19 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004242/0.02434, allocations: 47.34 kB / 263.5 MB, free: 10.15 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001282/0.02563, allocations: 0.5691 MB / 264.1 MB, free: 9.543 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001477/0.02577, allocations: 129.2 kB / 264.2 MB, free: 9.395 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.797e-05/0.02585, allocations: 17.94 kB / 264.2 MB, free: 9.379 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.375e-05/0.0259, allocations: 24.48 kB / 264.3 MB, free: 9.355 MB / 250.7 MB Notification: Performance of SimCode: time 5.61e-07/0.02591, allocations: 0 / 264.3 MB, free: 9.355 MB / 250.7 MB Notification: Performance of Templates: time 0.008138/0.03404, allocations: 2.892 MB / 267.1 MB, free: 6.48 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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.4582960159750655]