Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.OneWayClutch.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.001857/0.001857, allocations: 110.8 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.002235/0.002235, allocations: 210.8 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.475/1.475, allocations: 230.6 MB / 258.3 MB, free: 7.809 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.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_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_Modelica.Mechanics.Rotational.Examples.OneWayClutch") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001572/0.001572, allocations: 47.92 kB / 379 MB, free: 2.523 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2166/0.2182, allocations: 53.38 MB / 432.3 MB, free: 6.773 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutch): time 0.003847/0.2221, allocations: 2.193 MB / 434.5 MB, free: 4.57 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001521/0.2236, allocations: 0.8179 MB / 435.3 MB, free: 3.746 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001265/0.2237, allocations: 11.94 kB / 435.4 MB, free: 3.734 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002324/0.2239, allocations: 47.64 kB / 435.4 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002885/0.2242, allocations: 111.2 kB / 435.5 MB, free: 3.578 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000239/0.2245, allocations: 87.81 kB / 435.6 MB, free: 3.492 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003447/0.2248, allocations: 295.4 kB / 435.9 MB, free: 3.203 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.2249, allocations: 39.53 kB / 435.9 MB, free: 3.164 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000244/0.2252, allocations: 147.5 kB / 436.1 MB, free: 3.02 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001989/0.2254, allocations: 131.5 kB / 436.2 MB, free: 2.891 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.072e-05/0.2254, allocations: 23.94 kB / 436.2 MB, free: 2.867 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00015/0.2256, allocations: 83.97 kB / 436.3 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.886e-05/0.2256, allocations: 51.83 kB / 436.4 MB, free: 2.734 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000112/0.2258, allocations: 99.52 kB / 436.5 MB, free: 2.637 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003954/0.2262, allocations: 314.5 kB / 436.8 MB, free: 2.332 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.2262, allocations: 0 / 436.8 MB, free: 2.332 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2262, allocations: 0 / 436.8 MB, free: 2.332 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.2262, allocations: 0 / 436.8 MB, free: 2.332 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.001035/0.2272, allocations: 0.5297 MB / 437.3 MB, free: 1.766 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.2272, allocations: 11.97 kB / 437.3 MB, free: 1.754 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001801/0.2274, allocations: 36.78 kB / 437.3 MB, free: 1.719 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003384/0.2277, allocations: 187.8 kB / 437.5 MB, free: 1.508 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.799e-05/0.2278, allocations: 16.38 kB / 437.5 MB, free: 1.492 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.019e-05/0.2278, allocations: 16.38 kB / 437.6 MB, free: 1.477 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005143/0.2283, allocations: 243.2 kB / 437.8 MB, free: 1.227 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.2284, allocations: 0 / 437.8 MB, free: 1.227 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.878e-05/0.2284, allocations: 11.98 kB / 437.8 MB, free: 1.215 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.2284, allocations: 4 kB / 437.8 MB, free: 1.211 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005021/0.2289, allocations: 175.9 kB / 438 MB, free: 1.039 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009372/0.2298, allocations: 0.543 MB / 438.5 MB, free: 472 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005726/0.2304, allocations: 186.5 kB / 438.7 MB, free: 276 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002473/0.2307, allocations: 92.81 kB / 438.8 MB, free: 180 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.2307, allocations: 0 / 438.8 MB, free: 180 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003942/0.2311, allocations: 171.2 kB / 439 MB, free: 15.99 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.743e-06/0.2311, allocations: 0 / 439 MB, free: 15.99 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.002439/0.2335, allocations: 0.9427 MB / 439.9 MB, free: 15 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.615e-05/0.2335, allocations: 51.41 kB / 440 MB, free: 14.94 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002282/0.2338, allocations: 207.1 kB / 440.2 MB, free: 14.72 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.063e-05/0.2338, allocations: 29.7 kB / 440.2 MB, free: 14.69 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.663e-05/0.2339, allocations: 144.5 kB / 440.3 MB, free: 14.54 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.349e-05/0.234, allocations: 95.16 kB / 440.4 MB, free: 14.45 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.2341, allocations: 53.7 kB / 440.5 MB, free: 14.39 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.2342, allocations: 334.8 kB / 440.8 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002951/0.2345, allocations: 129.6 kB / 440.9 MB, free: 13.92 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003164/0.2348, allocations: 170.1 kB / 441.1 MB, free: 13.74 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005179/0.2354, allocations: 242 kB / 441.3 MB, free: 13.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.2354, allocations: 0 / 441.3 MB, free: 13.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0008557/0.2362, allocations: 411.3 kB / 441.7 MB, free: 13.06 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.598e-05/0.2363, allocations: 37.69 kB / 441.8 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.2363, allocations: 0 / 441.8 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002054/0.2365, allocations: 68.73 kB / 441.8 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00022/0.2367, allocations: 51.91 kB / 441.9 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001873/0.2386, allocations: 1.665 MB / 443.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002625/0.2388, allocations: 35.97 kB / 443.6 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.491e-05/0.2388, allocations: 8.062 kB / 443.6 MB, free: 11.09 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.000148/0.239, allocations: 149.7 kB / 443.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.723e-05/0.239, allocations: 23.89 kB / 443.8 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.129e-05/0.2391, allocations: 30.66 kB / 443.8 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.2391, allocations: 3.984 kB / 443.8 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.2391, allocations: 0 / 443.8 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.2392, allocations: 39.83 kB / 443.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.185e-05/0.2393, allocations: 11.94 kB / 443.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002268/0.2395, allocations: 35.95 kB / 443.9 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.365e-05/0.2396, allocations: 27.94 kB / 443.9 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001017/0.2406, allocations: 397.6 kB / 444.3 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009469/0.2416, allocations: 0.5341 MB / 444.8 MB, free: 9.812 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002623/0.2418, allocations: 104.1 kB / 444.9 MB, free: 9.711 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001434/0.242, allocations: 151.5 kB / 445.1 MB, free: 9.562 MB / 350.1 MB Notification: Performance of Backend: time 1.81e-07/0.242, allocations: 0 / 445.1 MB, free: 9.562 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002995/0.245, allocations: 0.9022 MB / 446 MB, free: 8.871 MB / 350.1 MB Notification: Performance of SimCode: time 0.001308/0.2463, allocations: 1.114 MB / 447.1 MB, free: 7.711 MB / 350.1 MB Notification: Performance of Templates: time 0.009862/0.2561, allocations: 5.338 MB / 452.4 MB, free: 2.43 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.OneWayClutch.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.OneWayClutch.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.OneWayClutch.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.OneWayClutch.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.OneWayClutch.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.OneWayClutch -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.OneWayClutch.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.OneWayClutch_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/OneWayClutch/OneWayClutch.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.431576319999294]