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.001772/0.001772, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 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.002162/0.002162, allocations: 211.4 kB / 24.48 MB, free: 3.941 MB / 14.72 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 1.459/1.459, allocations: 230.6 MB / 258.3 MB, free: 7.734 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001567/0.001567, allocations: 43.92 kB / 379 MB, free: 2.523 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2124/0.2139, allocations: 53.35 MB / 432.3 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged): time 0.003882/0.2178, allocations: 2.244 MB / 434.6 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001385/0.2192, allocations: 0.8063 MB / 435.4 MB, free: 3.609 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.2193, allocations: 11.94 kB / 435.4 MB, free: 3.598 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000238/0.2195, allocations: 55.56 kB / 435.4 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002648/0.2198, allocations: 103.2 kB / 435.5 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002098/0.22, allocations: 87.83 kB / 435.6 MB, free: 3.355 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003214/0.2203, allocations: 271.4 kB / 435.9 MB, free: 3.09 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/0.2205, allocations: 56.44 kB / 435.9 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002202/0.2207, allocations: 123.6 kB / 436.1 MB, free: 2.91 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002055/0.2209, allocations: 131.5 kB / 436.2 MB, free: 2.781 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.122e-05/0.2209, allocations: 20 kB / 436.2 MB, free: 2.762 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001586/0.2211, allocations: 75.98 kB / 436.3 MB, free: 2.688 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.979e-05/0.2212, allocations: 59.75 kB / 436.3 MB, free: 2.629 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.796e-05/0.2213, allocations: 91.59 kB / 436.4 MB, free: 2.539 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000413/0.2217, allocations: 320.5 kB / 436.7 MB, free: 2.23 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.2217, allocations: 0 / 436.7 MB, free: 2.23 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.2217, allocations: 0 / 436.7 MB, free: 2.23 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.097e-05/0.2217, allocations: 0 / 436.7 MB, free: 2.23 MB / 334.1 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.0008859/0.2226, allocations: 493.2 kB / 437.2 MB, free: 1.715 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/0.2226, allocations: 8.031 kB / 437.2 MB, free: 1.707 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001732/0.2228, allocations: 36.78 kB / 437.3 MB, free: 1.672 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003558/0.2231, allocations: 190.8 kB / 437.5 MB, free: 1.461 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.56e-05/0.2232, allocations: 12.75 kB / 437.5 MB, free: 1.449 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.059e-05/0.2232, allocations: 24.33 kB / 437.5 MB, free: 1.426 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004375/0.2237, allocations: 218.7 kB / 437.7 MB, free: 1.199 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.2237, allocations: 4 kB / 437.7 MB, free: 1.195 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.421e-05/0.2237, allocations: 8 kB / 437.7 MB, free: 1.188 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.2237, allocations: 4 kB / 437.7 MB, free: 1.184 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003499/0.2241, allocations: 159.2 kB / 437.9 MB, free: 1.031 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001106/0.2252, allocations: 0.6356 MB / 438.5 MB, free: 360 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003696/0.2255, allocations: 138.5 kB / 438.6 MB, free: 212 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001502/0.2257, allocations: 67.08 kB / 438.7 MB, free: 144 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.2257, allocations: 4 kB / 438.7 MB, free: 140 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.2257, allocations: 38.56 kB / 438.8 MB, free: 92 kB / 334.1 MB Notification: Performance of pre-optimization done (n=19): time 1.383e-06/0.2257, allocations: 0 / 438.8 MB, free: 92 kB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.00188/0.2276, allocations: 0.7643 MB / 439.5 MB, free: 15.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.2277, allocations: 51.41 kB / 439.6 MB, free: 15.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002336/0.2279, allocations: 196.2 kB / 439.8 MB, free: 15.01 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.966e-05/0.2279, allocations: 33.7 kB / 439.8 MB, free: 14.97 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.228, allocations: 144.4 kB / 439.9 MB, free: 14.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.751e-05/0.2281, allocations: 75.38 kB / 440 MB, free: 14.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.554e-05/0.2282, allocations: 45.7 kB / 440.1 MB, free: 14.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.2283, allocations: 326.8 kB / 440.4 MB, free: 14.37 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001692/0.2285, allocations: 67.97 kB / 440.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001843/0.2287, allocations: 115.4 kB / 440.5 MB, free: 14.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000301/0.229, allocations: 163.2 kB / 440.7 MB, free: 14.01 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.229, allocations: 0 / 440.7 MB, free: 14.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005043/0.2295, allocations: 258.3 kB / 441 MB, free: 13.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.2295, allocations: 15.88 kB / 441 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.2295, allocations: 0 / 441 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002145/0.2297, allocations: 72.8 kB / 441 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/0.2299, allocations: 31.98 kB / 441.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001925/0.2318, allocations: 1.684 MB / 442.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001903/0.232, allocations: 24.08 kB / 442.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.975e-05/0.232, allocations: 8 kB / 442.8 MB, free: 11.81 MB / 350.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 (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 0.0001441/0.2322, allocations: 145.9 kB / 442.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.271e-05/0.2322, allocations: 15.91 kB / 443 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.035e-05/0.2323, allocations: 21.97 kB / 443 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.2323, allocations: 7.938 kB / 443 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.2323, allocations: 0 / 443 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.2323, allocations: 3.984 kB / 443 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009462/0.2332, allocations: 0.5125 MB / 443.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2332, allocations: 0 / 443.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001907/0.2334, allocations: 43.91 kB / 443.5 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001552/0.2336, allocations: 44.84 kB / 443.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.193e-05/0.2336, allocations: 11.98 kB / 443.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00164/0.2352, allocations: 1.535 MB / 445.1 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.2353, allocations: 4.031 kB / 445.1 MB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007122/0.236, allocations: 427.4 kB / 445.6 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.58e-05/0.2361, allocations: 31.92 kB / 445.6 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.058e-05/0.2361, allocations: 11.98 kB / 445.6 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001932/0.2363, allocations: 20.05 kB / 445.6 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001721/0.2365, allocations: 67.89 kB / 445.7 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.041e-05/0.2365, allocations: 7.984 kB / 445.7 MB, free: 8.727 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001543/0.2366, allocations: 155.3 kB / 445.8 MB, free: 8.574 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2366, allocations: 0 / 445.8 MB, free: 8.574 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004129/0.237, allocations: 68 kB / 445.9 MB, free: 8.508 MB / 350.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 (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.001402/0.2384, allocations: 389.6 kB / 446.3 MB, free: 8.273 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006493/0.2391, allocations: 298.5 kB / 446.6 MB, free: 7.969 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2391, allocations: 0 / 446.6 MB, free: 7.969 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000363/0.2395, allocations: 234.5 kB / 446.8 MB, free: 7.727 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004091/0.2399, allocations: 42.45 kB / 446.8 MB, free: 7.688 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001353/0.2412, allocations: 0.7003 MB / 447.5 MB, free: 6.957 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001528/0.2414, allocations: 134.2 kB / 447.7 MB, free: 6.801 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.347e-05/0.2415, allocations: 29.91 kB / 447.7 MB, free: 6.773 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.117e-05/0.2415, allocations: 19.44 kB / 447.7 MB, free: 6.754 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2415, allocations: 0 / 447.7 MB, free: 6.754 MB / 350.1 MB Notification: Performance of Templates: time 0.008532/0.2501, allocations: 4.016 MB / 451.7 MB, free: 2.789 MB / 350.1 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=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/OneWayClutchDisengaged/OneWayClutchDisengaged.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.37005895000766]