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.001437/0.001437, allocations: 86.98 kB / 21.44 MB, free: 276 kB / 14.72 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.001525/0.001525, allocations: 162.6 kB / 24.71 MB, free: 3.527 MB / 14.72 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.429/1.429, allocations: 158.6 MB / 186.5 MB, free: 6.387 MB / 174.1 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.253e-06/1.253e-06, allocations: 0 / 298.9 MB, free: 8.738 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.438e-05/2.563e-05, allocations: 2.281 kB / 298.9 MB, free: 8.734 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged): time 0.003258/0.003284, allocations: 2.112 MB / 301 MB, free: 6.602 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001322/0.004605, allocations: 0.6942 MB / 301.7 MB, free: 5.898 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001122/0.004718, allocations: 7.938 kB / 301.7 MB, free: 5.891 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001799/0.004898, allocations: 27.72 kB / 301.8 MB, free: 5.863 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001916/0.005089, allocations: 79.34 kB / 301.9 MB, free: 5.785 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003616/0.005451, allocations: 103.7 kB / 302 MB, free: 5.684 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003403/0.005791, allocations: 267.3 kB / 302.2 MB, free: 5.422 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001497/0.005941, allocations: 56.42 kB / 302.3 MB, free: 5.371 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002402/0.006181, allocations: 151.7 kB / 302.4 MB, free: 5.223 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000208/0.006389, allocations: 95.7 kB / 302.5 MB, free: 5.129 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.452e-05/0.006433, allocations: 20 kB / 302.5 MB, free: 5.109 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001474/0.006581, allocations: 75.89 kB / 302.6 MB, free: 5.035 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.624e-05/0.006667, allocations: 55.8 kB / 302.7 MB, free: 4.98 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001015/0.006769, allocations: 71.83 kB / 302.7 MB, free: 4.91 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004115/0.00718, allocations: 295.1 kB / 303 MB, free: 4.621 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.007185, allocations: 3.984 kB / 303 MB, free: 4.617 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.007186, allocations: 0 / 303 MB, free: 4.617 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.048e-05/0.007197, allocations: 0 / 303 MB, free: 4.617 MB / 286.1 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.0009008/0.008098, allocations: 449.6 kB / 303.5 MB, free: 4.148 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.008139, allocations: 19.98 kB / 303.5 MB, free: 4.129 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.913e-05/0.008209, allocations: 32.72 kB / 303.5 MB, free: 4.098 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003422/0.008551, allocations: 169.5 kB / 303.7 MB, free: 3.906 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.123e-05/0.008582, allocations: 20.86 kB / 303.7 MB, free: 3.887 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.402e-05/0.008636, allocations: 20.33 kB / 303.7 MB, free: 3.867 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004714/0.009107, allocations: 227 kB / 303.9 MB, free: 3.629 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.009125, allocations: 192 / 303.9 MB, free: 3.629 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.594e-05/0.009151, allocations: 8.375 kB / 303.9 MB, free: 3.621 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.00916, allocations: 7.938 kB / 304 MB, free: 3.613 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003695/0.00953, allocations: 165 kB / 304.1 MB, free: 3.453 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001179/0.01071, allocations: 0.6376 MB / 304.8 MB, free: 2.777 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003925/0.0111, allocations: 125 kB / 304.9 MB, free: 2.648 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000158/0.01126, allocations: 64.83 kB / 304.9 MB, free: 2.582 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.01128, allocations: 0 / 304.9 MB, free: 2.582 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/0.01131, allocations: 38.88 kB / 305 MB, free: 2.535 MB / 286.1 MB Notification: Performance of pre-optimization done (n=18): time 1.253e-06/0.01131, allocations: 0 / 305 MB, free: 2.535 MB / 286.1 MB Notification: Performance of matching and sorting (n=20): time 0.002001/0.01331, allocations: 0.7597 MB / 305.7 MB, free: 1.719 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/0.01336, allocations: 55.41 kB / 305.8 MB, free: 1.652 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00022/0.01358, allocations: 183.6 kB / 306 MB, free: 1.461 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.887e-05/0.01361, allocations: 33.7 kB / 306 MB, free: 1.422 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.01372, allocations: 148.3 kB / 306.2 MB, free: 1.27 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.805e-05/0.0138, allocations: 83.36 kB / 306.2 MB, free: 1.188 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.114e-05/0.01389, allocations: 45.7 kB / 306.3 MB, free: 1.137 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.01405, allocations: 330.8 kB / 306.6 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001829/0.01423, allocations: 75.95 kB / 306.7 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000201/0.01443, allocations: 123.8 kB / 306.8 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003236/0.01476, allocations: 160.8 kB / 307 MB, free: 440 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.01476, allocations: 4 kB / 307 MB, free: 436 kB / 286.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005632/0.01532, allocations: 299.8 kB / 307.2 MB, free: 128 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.01534, allocations: 4 kB / 307.3 MB, free: 124 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.01535, allocations: 7.922 kB / 307.3 MB, free: 116 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002596/0.01561, allocations: 68.81 kB / 307.3 MB, free: 44 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001707/0.01578, allocations: 43.92 kB / 307.4 MB, free: 0 / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006235/0.0164, allocations: 0.6149 MB / 308 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002496/0.01665, allocations: 27.94 kB / 308 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.418e-05/0.01667, allocations: 11.94 kB / 308 MB, free: 15.32 MB / 302.1 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.0001585/0.01683, allocations: 137.8 kB / 308.2 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.927e-05/0.01688, allocations: 15.91 kB / 308.2 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.722e-05/0.01695, allocations: 25.8 kB / 308.2 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.01695, allocations: 4 kB / 308.2 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.01696, allocations: 0 / 308.2 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.01696, allocations: 4.062 kB / 308.2 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009049/0.01787, allocations: 0.5082 MB / 308.7 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/0.01788, allocations: 4 kB / 308.7 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001626/0.01804, allocations: 23.98 kB / 308.7 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001904/0.01823, allocations: 76.81 kB / 308.8 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.062e-05/0.01825, allocations: 12.06 kB / 308.8 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006244/0.01887, allocations: 0.6071 MB / 309.4 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.01887, allocations: 0 / 309.4 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006781/0.01955, allocations: 416.2 kB / 309.8 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.598e-05/0.01963, allocations: 35.92 kB / 309.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.88e-05/0.01967, allocations: 7.938 kB / 309.9 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001863/0.01985, allocations: 16.05 kB / 309.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.224e-05/0.01994, allocations: 27.95 kB / 309.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.087e-05/0.01996, allocations: 11.98 kB / 309.9 MB, free: 13.29 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001378/0.02009, allocations: 135.2 kB / 310.1 MB, free: 13.16 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.0201, allocations: 0 / 310.1 MB, free: 13.16 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003466/0.02044, allocations: 59.94 kB / 310.1 MB, free: 13.1 MB / 302.1 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.0002373/0.02068, allocations: 123.1 kB / 310.3 MB, free: 12.97 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005168/0.0212, allocations: 191.8 kB / 310.4 MB, free: 12.79 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.0212, allocations: 4.125 kB / 310.4 MB, free: 12.78 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000247/0.02144, allocations: 91.89 kB / 310.5 MB, free: 12.69 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004157/0.02186, allocations: 51.64 kB / 310.6 MB, free: 12.64 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001513/0.02337, allocations: 0.5742 MB / 311.2 MB, free: 12.04 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001745/0.02355, allocations: 129.5 kB / 311.3 MB, free: 11.89 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.385e-05/0.02363, allocations: 17.95 kB / 311.3 MB, free: 11.87 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001224/0.02375, allocations: 24.5 kB / 311.3 MB, free: 11.85 MB / 302.1 MB Notification: Performance of SimCode: time 3.3e-07/0.02375, allocations: 0 / 311.3 MB, free: 11.85 MB / 302.1 MB Notification: Performance of Templates: time 0.008154/0.03191, allocations: 2.866 MB / 314.2 MB, free: 8.984 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe 2>&1) [Timeout 480] 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.492306146770716]