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.001294/0.001294, allocations: 110.4 kB / 21.19 MB, free: 0.6641 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.001377/0.001377, allocations: 204.7 kB / 24.49 MB, free: 3.965 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.497/1.497, allocations: 230.6 MB / 258.3 MB, free: 7.812 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.001576/0.001576, allocations: 55.92 kB / 379 MB, free: 2.512 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.219/0.2206, allocations: 53.36 MB / 432.3 MB, free: 6.777 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged): time 0.004157/0.2248, allocations: 2.225 MB / 434.6 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001577/0.2263, allocations: 0.8217 MB / 435.4 MB, free: 3.715 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001352/0.2265, allocations: 4 kB / 435.4 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002428/0.2267, allocations: 51.58 kB / 435.4 MB, free: 3.66 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002948/0.227, allocations: 107.2 kB / 435.5 MB, free: 3.555 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002119/0.2272, allocations: 83.84 kB / 435.6 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003306/0.2275, allocations: 271.4 kB / 435.9 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.2277, allocations: 55.47 kB / 435.9 MB, free: 3.152 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002347/0.2279, allocations: 131.5 kB / 436.1 MB, free: 3.023 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000215/0.2281, allocations: 135.4 kB / 436.2 MB, free: 2.891 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.295e-05/0.2282, allocations: 20 kB / 436.2 MB, free: 2.871 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000155/0.2283, allocations: 75.98 kB / 436.3 MB, free: 2.797 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.667e-05/0.2284, allocations: 51.83 kB / 436.3 MB, free: 2.746 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001029/0.2285, allocations: 91.59 kB / 436.4 MB, free: 2.656 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004033/0.2289, allocations: 318.5 kB / 436.7 MB, free: 2.348 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2289, allocations: 0 / 436.7 MB, free: 2.348 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2289, allocations: 3.938 kB / 436.7 MB, free: 2.344 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.2289, allocations: 0 / 436.7 MB, free: 2.344 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.0008565/0.2298, allocations: 487.9 kB / 437.2 MB, free: 1.836 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.2298, allocations: 12.03 kB / 437.2 MB, free: 1.824 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001694/0.23, allocations: 32.78 kB / 437.3 MB, free: 1.793 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003477/0.2303, allocations: 190.9 kB / 437.5 MB, free: 1.582 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.513e-05/0.2304, allocations: 12.75 kB / 437.5 MB, free: 1.57 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.351e-05/0.2304, allocations: 28.33 kB / 437.5 MB, free: 1.543 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004209/0.2308, allocations: 218.7 kB / 437.7 MB, free: 1.316 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.2309, allocations: 7.938 kB / 437.7 MB, free: 1.309 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.466e-05/0.2309, allocations: 8 kB / 437.7 MB, free: 1.301 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.2309, allocations: 4 kB / 437.7 MB, free: 1.297 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003507/0.2312, allocations: 155.3 kB / 437.9 MB, free: 1.148 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001096/0.2323, allocations: 0.6356 MB / 438.5 MB, free: 480 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003785/0.2327, allocations: 138.7 kB / 438.6 MB, free: 332 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001479/0.2329, allocations: 68.83 kB / 438.7 MB, free: 260 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.2329, allocations: 4 kB / 438.7 MB, free: 256 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.2329, allocations: 34.56 kB / 438.8 MB, free: 212 kB / 334.1 MB Notification: Performance of pre-optimization done (n=19): time 1.413e-06/0.2329, allocations: 0 / 438.8 MB, free: 212 kB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001843/0.2348, allocations: 0.7706 MB / 439.5 MB, free: 15.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.2348, allocations: 55.41 kB / 439.6 MB, free: 15.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002216/0.235, allocations: 192.2 kB / 439.8 MB, free: 15.12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.605e-05/0.235, allocations: 29.7 kB / 439.8 MB, free: 15.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.2351, allocations: 144.4 kB / 439.9 MB, free: 14.94 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.765e-05/0.2352, allocations: 75.38 kB / 440 MB, free: 14.87 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.186e-05/0.2353, allocations: 49.7 kB / 440.1 MB, free: 14.81 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.2355, allocations: 330.8 kB / 440.4 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001658/0.2356, allocations: 67.97 kB / 440.4 MB, free: 14.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001902/0.2358, allocations: 111.3 kB / 440.6 MB, free: 14.29 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003063/0.2361, allocations: 163.2 kB / 440.7 MB, free: 14.12 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.2361, allocations: 0 / 440.7 MB, free: 14.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005066/0.2366, allocations: 262.3 kB / 441 MB, free: 13.86 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.2366, allocations: 7.938 kB / 441 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.2366, allocations: 0 / 441 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002177/0.2369, allocations: 64.88 kB / 441 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001682/0.237, allocations: 43.91 kB / 441.1 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001985/0.239, allocations: 1.673 MB / 442.8 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001965/0.2392, allocations: 28.03 kB / 442.8 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.234e-05/0.2392, allocations: 12 kB / 442.8 MB, free: 11.93 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.000138/0.2394, allocations: 133.9 kB / 442.9 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.761e-05/0.2394, allocations: 19.91 kB / 442.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.349e-05/0.2395, allocations: 29.95 kB / 443 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.2395, allocations: 3.938 kB / 443 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.2395, allocations: 0 / 443 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.585e-05/0.2396, allocations: 31.88 kB / 443 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.303e-05/0.2396, allocations: 4.047 kB / 443 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001937/0.2398, allocations: 27.95 kB / 443 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.285e-05/0.2399, allocations: 27.89 kB / 443.1 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007404/0.2406, allocations: 313.7 kB / 443.4 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006099/0.2412, allocations: 452.4 kB / 443.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001573/0.2414, allocations: 69.27 kB / 443.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001457/0.2415, allocations: 147.4 kB / 444 MB, free: 10.65 MB / 350.1 MB Notification: Performance of Backend: time 4e-07/0.2415, allocations: 0 / 444 MB, free: 10.65 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002837/0.2444, allocations: 0.7751 MB / 444.8 MB, free: 10.11 MB / 350.1 MB Notification: Performance of SimCode: time 0.001312/0.2457, allocations: 1.115 MB / 445.9 MB, free: 8.953 MB / 350.1 MB Notification: Performance of Templates: time 0.008874/0.2546, allocations: 4.421 MB / 450.3 MB, free: 4.578 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 -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.3351007149976795]