Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.OneWayClutch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001837/0.001837, allocations: 113.9 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002254/0.002254, allocations: 209.8 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.435/1.435, allocations: 230.4 MB / 258.1 MB, free: 8.145 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.OneWayClutch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inertiaIn.phi|inertiaIn.w|oneWayClutch.phi_rel|oneWayClutch.w_rel",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.OneWayClutch") translateModel(Modelica.Mechanics.Rotational.Examples.OneWayClutch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inertiaIn.phi|inertiaIn.w|oneWayClutch.phi_rel|oneWayClutch.w_rel",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.OneWayClutch") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 67.83 kB / 378.7 MB, free: 2.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.2179, allocations: 53.31 MB / 432 MB, free: 7.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutch): time 0.00368/0.2216, allocations: 2.316 MB / 434.4 MB, free: 5.086 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001416/0.223, allocations: 0.884 MB / 435.2 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.179e-05/0.2231, allocations: 4 kB / 435.2 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002329/0.2233, allocations: 55.58 kB / 435.3 MB, free: 4.137 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002582/0.2236, allocations: 103.2 kB / 435.4 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002227/0.2238, allocations: 87.83 kB / 435.5 MB, free: 3.949 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003544/0.2241, allocations: 291.3 kB / 435.8 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.2243, allocations: 40.39 kB / 435.8 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002516/0.2245, allocations: 143.5 kB / 435.9 MB, free: 3.48 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002138/0.2247, allocations: 131.5 kB / 436.1 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.945e-05/0.2248, allocations: 20 kB / 436.1 MB, free: 3.332 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001565/0.2249, allocations: 87.95 kB / 436.2 MB, free: 3.246 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.2e-05/0.225, allocations: 51.83 kB / 436.2 MB, free: 3.195 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001269/0.2251, allocations: 115.4 kB / 436.3 MB, free: 3.082 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004137/0.2255, allocations: 324.7 kB / 436.7 MB, free: 2.766 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.2255, allocations: 4 kB / 436.7 MB, free: 2.762 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2255, allocations: 0 / 436.7 MB, free: 2.762 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.2256, allocations: 0 / 436.7 MB, free: 2.762 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.001094/0.2266, allocations: 0.5895 MB / 437.3 MB, free: 2.117 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.2267, allocations: 8.031 kB / 437.3 MB, free: 2.109 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001809/0.2269, allocations: 40.73 kB / 437.3 MB, free: 2.07 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003437/0.2272, allocations: 249.7 kB / 437.5 MB, free: 1.785 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.913e-05/0.2272, allocations: 16.38 kB / 437.6 MB, free: 1.77 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.336e-05/0.2273, allocations: 20.38 kB / 437.6 MB, free: 1.75 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005035/0.2278, allocations: 235.2 kB / 437.8 MB, free: 1.508 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.2278, allocations: 0 / 437.8 MB, free: 1.508 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.467e-05/0.2278, allocations: 8 kB / 437.8 MB, free: 1.5 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.2278, allocations: 4 kB / 437.8 MB, free: 1.496 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005169/0.2283, allocations: 179.9 kB / 438 MB, free: 1.32 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001037/0.2294, allocations: 0.6487 MB / 438.6 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000588/0.23, allocations: 194.4 kB / 438.8 MB, free: 428 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002606/0.2302, allocations: 104.7 kB / 438.9 MB, free: 320 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.979e-05/0.2303, allocations: 0 / 438.9 MB, free: 320 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003954/0.2306, allocations: 167.2 kB / 439.1 MB, free: 140 kB / 334.1 MB Notification: Performance of pre-optimization done (n=25): time 1.633e-06/0.2306, allocations: 0 / 439.1 MB, free: 140 kB / 334.1 MB Notification: Performance of matching and sorting (n=27): time 0.002665/0.2333, allocations: 1.163 MB / 440.3 MB, free: 14.86 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/0.2334, allocations: 55.41 kB / 440.3 MB, free: 14.8 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002279/0.2336, allocations: 202.5 kB / 440.5 MB, free: 14.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.474e-05/0.2336, allocations: 33.7 kB / 440.6 MB, free: 14.55 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.2337, allocations: 140.5 kB / 440.7 MB, free: 14.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.387e-05/0.2338, allocations: 91.22 kB / 440.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.2339, allocations: 57.7 kB / 440.8 MB, free: 14.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.2341, allocations: 334.8 kB / 441.2 MB, free: 13.92 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002984/0.2344, allocations: 99.94 kB / 441.3 MB, free: 13.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003201/0.2347, allocations: 148.3 kB / 441.4 MB, free: 13.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005471/0.2352, allocations: 250 kB / 441.6 MB, free: 13.4 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.2352, allocations: 3.938 kB / 441.7 MB, free: 13.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0008598/0.2361, allocations: 369.8 kB / 442 MB, free: 13.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.687e-05/0.2361, allocations: 33.7 kB / 442 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/0.2361, allocations: 4 kB / 442 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001931/0.2363, allocations: 52.77 kB / 442.1 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002308/0.2366, allocations: 51.91 kB / 442.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001974/0.2385, allocations: 1.803 MB / 444 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000289/0.2388, allocations: 43.89 kB / 444 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.386e-05/0.2388, allocations: 8 kB / 444 MB, free: 10.88 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: 11 (signalEngagement.count,$PRE.signalEngagement.count,signalEngagement.T_start,$PRE.signalEngagement.T_start,oneWayClutch.free,oneWayClutch.stuck,$PRE.oneWayClutch.stuck,oneWayClutch.locked,oneWayClutch.startForward,$PRE.oneWayClutch.startForward,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * 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.0001526/0.239, allocations: 137.8 kB / 444.1 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.637e-05/0.239, allocations: 19.86 kB / 444.2 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.904e-05/0.2391, allocations: 34.61 kB / 444.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.2391, allocations: 0 / 444.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2391, allocations: 7.938 kB / 444.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001295/0.2392, allocations: 128.9 kB / 444.3 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.027e-05/0.2393, allocations: 4 kB / 444.3 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002389/0.2395, allocations: 27.97 kB / 444.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.104e-05/0.2396, allocations: 39.88 kB / 444.4 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001086/0.2407, allocations: 397.6 kB / 444.8 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001009/0.2417, allocations: 0.5504 MB / 445.3 MB, free: 9.496 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002759/0.242, allocations: 95.94 kB / 445.4 MB, free: 9.402 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001537/0.2421, allocations: 147.6 kB / 445.6 MB, free: 9.258 MB / 350.1 MB Notification: Performance of Backend: time 3.11e-07/0.2421, allocations: 0 / 445.6 MB, free: 9.258 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002911/0.2451, allocations: 0.8334 MB / 446.4 MB, free: 8.621 MB / 350.1 MB Notification: Performance of SimCode: time 0.001422/0.2465, allocations: 1.132 MB / 447.5 MB, free: 7.445 MB / 350.1 MB Notification: Performance of Templates: time 0.009979/0.2565, allocations: 5.002 MB / 452.5 MB, free: 2.473 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.OneWayClutch.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.OneWayClutch.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.OneWayClutch.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.OneWayClutch.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.OneWayClutch.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.OneWayClutch -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.OneWayClutch.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.OneWayClutch_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/OneWayClutch/OneWayClutch.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.OneWayClutch.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.275018877815455]