Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.OneWayClutch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|inertiaIn.phi|inertiaIn.w|oneWayClutch.phi_rel|oneWayClutch.w_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutch") translateModel(Modelica.Mechanics.Rotational.Examples.OneWayClutch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|inertiaIn.phi|inertiaIn.w|oneWayClutch.phi_rel|oneWayClutch.w_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 110.4 kB / 17.75 MB, free: 5.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 183.1 kB / 18.68 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 222.9 MB / 242.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000984/0.0009841, allocations: 47.92 kB / 352 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2035/0.2045, allocations: 49.44 MB / 401.4 MB, free: 8.727 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutch): time 0.003115/0.2076, allocations: 2.162 MB / 403.6 MB, free: 6.688 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001201/0.2088, allocations: 0.7012 MB / 404.3 MB, free: 5.98 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001236/0.209, allocations: 7.938 kB / 404.3 MB, free: 5.973 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001622/0.2091, allocations: 31.72 kB / 404.3 MB, free: 5.941 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001748/0.2093, allocations: 67.42 kB / 404.4 MB, free: 5.875 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003441/0.2097, allocations: 107.8 kB / 404.5 MB, free: 5.77 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003095/0.21, allocations: 283.3 kB / 404.8 MB, free: 5.492 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.2102, allocations: 64.3 kB / 404.8 MB, free: 5.43 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001862/0.2104, allocations: 115.6 kB / 404.9 MB, free: 5.316 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001778/0.2105, allocations: 123.5 kB / 405.1 MB, free: 5.195 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.236e-05/0.2106, allocations: 23.98 kB / 405.1 MB, free: 5.172 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001384/0.2107, allocations: 75.88 kB / 405.2 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.759e-05/0.2108, allocations: 47.84 kB / 405.2 MB, free: 5.051 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001091/0.2109, allocations: 111.4 kB / 405.3 MB, free: 4.941 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003384/0.2113, allocations: 282.8 kB / 405.6 MB, free: 4.668 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.2113, allocations: 4 kB / 405.6 MB, free: 4.664 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2113, allocations: 0 / 405.6 MB, free: 4.664 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.434e-05/0.2113, allocations: 3.938 kB / 405.6 MB, free: 4.66 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0009373/0.2123, allocations: 0.5585 MB / 406.1 MB, free: 4.047 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.2123, allocations: 15.89 kB / 406.2 MB, free: 4.031 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.408e-05/0.2124, allocations: 32.69 kB / 406.2 MB, free: 4 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002801/0.2127, allocations: 244 kB / 406.4 MB, free: 3.723 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.2127, allocations: 12.38 kB / 406.4 MB, free: 3.711 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.189e-05/0.2128, allocations: 20.38 kB / 406.5 MB, free: 3.691 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000469/0.2132, allocations: 239.5 kB / 406.7 MB, free: 3.445 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/0.2133, allocations: 7.953 kB / 406.7 MB, free: 3.438 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.126e-05/0.2133, allocations: 4 kB / 406.7 MB, free: 3.434 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.2133, allocations: 4 kB / 406.7 MB, free: 3.43 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004945/0.2138, allocations: 199.8 kB / 406.9 MB, free: 3.234 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009787/0.2148, allocations: 0.6643 MB / 407.6 MB, free: 2.516 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005528/0.2153, allocations: 206.3 kB / 407.8 MB, free: 2.305 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002356/0.2156, allocations: 108.8 kB / 407.9 MB, free: 2.195 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.2156, allocations: 0 / 407.9 MB, free: 2.195 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003333/0.216, allocations: 159.6 kB / 408 MB, free: 2.027 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 1.663e-06/0.216, allocations: 4 kB / 408 MB, free: 2.023 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.002298/0.2183, allocations: 1.144 MB / 409.2 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/0.2183, allocations: 59.41 kB / 409.2 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00017/0.2185, allocations: 191.9 kB / 409.4 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.185e-05/0.2185, allocations: 33.7 kB / 409.5 MB, free: 468 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.533e-05/0.2186, allocations: 140.5 kB / 409.6 MB, free: 324 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.074e-05/0.2187, allocations: 95.2 kB / 409.7 MB, free: 228 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.743e-05/0.2188, allocations: 57.7 kB / 409.8 MB, free: 164 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.2189, allocations: 338.8 kB / 410.1 MB, free: 15.82 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002747/0.2192, allocations: 104 kB / 410.2 MB, free: 15.71 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002857/0.2195, allocations: 152.9 kB / 410.3 MB, free: 15.55 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004836/0.22, allocations: 242.7 kB / 410.6 MB, free: 15.3 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.22, allocations: 0 / 410.6 MB, free: 15.3 MB / 334.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008121/0.2208, allocations: 406 kB / 411 MB, free: 14.89 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.318e-05/0.2209, allocations: 33.7 kB / 411 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.2209, allocations: 0 / 411 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002197/0.2211, allocations: 72.75 kB / 411.1 MB, free: 14.78 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002166/0.2213, allocations: 55.97 kB / 411.1 MB, free: 14.72 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004616/0.2218, allocations: 0.6148 MB / 411.7 MB, free: 14.08 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002561/0.2221, allocations: 35.98 kB / 411.8 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.604e-05/0.2221, allocations: 8 kB / 411.8 MB, free: 14.04 MB / 334.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 (32): * Single equations (assignments): 30 * 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.0001304/0.2223, allocations: 145.8 kB / 411.9 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.557e-05/0.2223, allocations: 23.8 kB / 411.9 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.125e-05/0.2224, allocations: 33.8 kB / 412 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.2224, allocations: 0 / 412 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.2224, allocations: 0 / 412 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.368e-05/0.2225, allocations: 116.9 kB / 412.1 MB, free: 13.69 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.877e-05/0.2225, allocations: 4 kB / 412.1 MB, free: 13.69 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002204/0.2227, allocations: 36 kB / 412.1 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.353e-05/0.2229, allocations: 47.88 kB / 412.2 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009632/0.2238, allocations: 393.4 kB / 412.6 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008472/0.2247, allocations: 0.5297 MB / 413.1 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002479/0.2249, allocations: 112.5 kB / 413.2 MB, free: 12.55 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001105/0.2251, allocations: 139.5 kB / 413.3 MB, free: 12.42 MB / 334.1 MB Notification: Performance of Backend: time 4.21e-07/0.2251, allocations: 4 kB / 413.3 MB, free: 12.41 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008349/0.2259, allocations: 334.5 kB / 413.7 MB, free: 12.07 MB / 334.1 MB Notification: Performance of SimCode: time 0.001136/0.2271, allocations: 1.109 MB / 414.8 MB, free: 10.91 MB / 334.1 MB Notification: Performance of Templates: time 0.007566/0.2346, allocations: 4.071 MB / 418.9 MB, free: 6.863 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutch.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutch.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutch.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutch.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutch.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutch -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutch.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutch_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/OneWayClutch/OneWayClutch.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutch.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches