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.0009836/0.0009837, allocations: 114.3 kB / 17.75 MB, free: 5.309 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.0009723/0.0009723, allocations: 189.3 kB / 18.67 MB, free: 4.395 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.309/1.309, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00102/0.00102, allocations: 47.92 kB / 352 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2161/0.2172, allocations: 49.44 MB / 401.4 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutch): time 0.003107/0.2203, allocations: 2.165 MB / 403.6 MB, free: 6.859 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001219/0.2215, allocations: 0.705 MB / 404.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001264/0.2217, allocations: 0 / 404.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001659/0.2219, allocations: 35.66 kB / 404.3 MB, free: 6.113 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001783/0.2221, allocations: 67.48 kB / 404.4 MB, free: 6.047 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003538/0.2224, allocations: 107.7 kB / 404.5 MB, free: 5.941 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003321/0.2228, allocations: 283.4 kB / 404.8 MB, free: 5.664 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.2229, allocations: 63.53 kB / 404.8 MB, free: 5.605 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002018/0.2231, allocations: 119.5 kB / 404.9 MB, free: 5.488 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000195/0.2233, allocations: 123.5 kB / 405.1 MB, free: 5.367 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.412e-05/0.2234, allocations: 24 kB / 405.1 MB, free: 5.344 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001492/0.2235, allocations: 75.94 kB / 405.2 MB, free: 5.27 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.771e-05/0.2236, allocations: 47.83 kB / 405.2 MB, free: 5.223 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001226/0.2237, allocations: 115.5 kB / 405.3 MB, free: 5.109 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003328/0.2241, allocations: 284.3 kB / 405.6 MB, free: 4.832 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.2241, allocations: 0 / 405.6 MB, free: 4.832 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.2241, allocations: 0 / 405.6 MB, free: 4.832 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.724e-06/0.2241, allocations: 0 / 405.6 MB, free: 4.832 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.000976/0.2251, allocations: 0.5588 MB / 406.1 MB, free: 4.219 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.2251, allocations: 11.89 kB / 406.2 MB, free: 4.207 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.467e-05/0.2252, allocations: 20.75 kB / 406.2 MB, free: 4.188 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002855/0.2255, allocations: 243.8 kB / 406.4 MB, free: 3.91 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.473e-05/0.2255, allocations: 20.31 kB / 406.4 MB, free: 3.891 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.92e-05/0.2256, allocations: 20.38 kB / 406.5 MB, free: 3.871 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004978/0.2261, allocations: 247.4 kB / 406.7 MB, free: 3.617 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.2261, allocations: 0 / 406.7 MB, free: 3.617 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.73e-05/0.2262, allocations: 12 kB / 406.7 MB, free: 3.605 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.2262, allocations: 4 kB / 406.7 MB, free: 3.602 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000503/0.2267, allocations: 183.9 kB / 406.9 MB, free: 3.422 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001025/0.2277, allocations: 0.6719 MB / 407.6 MB, free: 2.695 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005822/0.2283, allocations: 206.4 kB / 407.8 MB, free: 2.484 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002419/0.2286, allocations: 96.8 kB / 407.9 MB, free: 2.387 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.454e-05/0.2286, allocations: 8 kB / 407.9 MB, free: 2.379 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003678/0.229, allocations: 159.6 kB / 408 MB, free: 2.211 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 1.843e-06/0.229, allocations: 3.938 kB / 408 MB, free: 2.207 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.002438/0.2314, allocations: 1.144 MB / 409.2 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.2315, allocations: 55.41 kB / 409.2 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/0.2316, allocations: 195.9 kB / 409.4 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.235e-05/0.2317, allocations: 29.7 kB / 409.4 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.892e-05/0.2318, allocations: 140.3 kB / 409.6 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.18e-05/0.2319, allocations: 90.73 kB / 409.7 MB, free: 424 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.842e-05/0.232, allocations: 57.7 kB / 409.7 MB, free: 360 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.2321, allocations: 334.8 kB / 410.1 MB, free: 16 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002955/0.2324, allocations: 116.1 kB / 410.2 MB, free: 15.89 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002879/0.2327, allocations: 148.8 kB / 410.3 MB, free: 15.74 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004957/0.2332, allocations: 246.7 kB / 410.6 MB, free: 15.48 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2332, allocations: 3.938 kB / 410.6 MB, free: 15.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008258/0.234, allocations: 397.9 kB / 410.9 MB, free: 15.07 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.71e-05/0.2341, allocations: 29.7 kB / 411 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.2341, allocations: 8 kB / 411 MB, free: 15.03 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002239/0.2343, allocations: 76.75 kB / 411.1 MB, free: 14.95 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002237/0.2345, allocations: 43.97 kB / 411.1 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004558/0.235, allocations: 0.6109 MB / 411.7 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002818/0.2353, allocations: 36.02 kB / 411.7 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.542e-05/0.2353, allocations: 12 kB / 411.8 MB, free: 14.22 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.0001368/0.2355, allocations: 141.7 kB / 411.9 MB, free: 14.07 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.79e-05/0.2355, allocations: 27.66 kB / 411.9 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.781e-05/0.2356, allocations: 29.86 kB / 412 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.2356, allocations: 48 / 412 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.2356, allocations: 3.984 kB / 412 MB, free: 14.01 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.625e-05/0.2357, allocations: 112.9 kB / 412.1 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.796e-05/0.2358, allocations: 8 kB / 412.1 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002345/0.236, allocations: 35.95 kB / 412.1 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.039e-05/0.2361, allocations: 31.89 kB / 412.1 MB, free: 13.81 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001008/0.2371, allocations: 413.3 kB / 412.5 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008717/0.238, allocations: 0.5218 MB / 413.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002598/0.2383, allocations: 116.5 kB / 413.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000109/0.2384, allocations: 139.5 kB / 413.3 MB, free: 12.61 MB / 334.1 MB Notification: Performance of Backend: time 4.61e-07/0.2384, allocations: 0 / 413.3 MB, free: 12.61 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009147/0.2393, allocations: 338.4 kB / 413.6 MB, free: 12.26 MB / 334.1 MB Notification: Performance of SimCode: time 0.00132/0.2407, allocations: 1.098 MB / 414.7 MB, free: 11.11 MB / 334.1 MB Notification: Performance of Templates: time 0.007555/0.2482, allocations: 4.074 MB / 418.8 MB, free: 7.062 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